get pwd on windows

From: Date: Tue, 11 Jun 2002 17:45:17 +0000
Subject: get pwd on windows
Groups: php.general 
Request: Send a blank email to php-general+get-101585@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Ok, I need to write this little script to run on a Windows box (don't ask...), but I'm getting completely shafted by the inconsistent use of long filenames. I need to get the current directory, but it must have long filenames and not be chopped to xxx~1 or anything. $SCRIPT_FILENAME is not set, there is no pwd utility, nothing is set in the environment and realpath('./') returns cropped firectory names. Is there a way to do this or am I condemned to bang my head against a wall and swear some more? Cheers - -- Shane http://www.shanewright.co.uk/ Public key: http://www.shanewright.co.uk/files/public_key.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9Bjcw5DXg6dCMBrQRAjjbAJ4iz2jRJ5rMzkV7Md5GHpTd3YcX1wCfZb6B 44Qwj0u6jdfNpGtf+LTEX+w= =HgUp -----END PGP SIGNATURE-----

« previous php.general (#101585) next »