Re[2]: [PHP] Getting short (DOS) name of file?

From: Date: Tue, 31 Dec 2002 08:53:46 +0000
Subject: Re[2]: [PHP] Getting short (DOS) name of file?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-129749@lists.php.net to get a copy of this message
Hi, Tuesday, December 31, 2002, 5:14:18 PM, you wrote: LKB> Thanks... thing is, it can be anything from c:\whatever.exe to LKB> c:\program files\program name\bin\program.exe. I'll write a function LKB> that goes to each directory in a string and does a dir /x if I have to, LKB> but isn't there a simpler way? LKB> Michael Sims wrote: >>On Tue, 31 Dec 2002 01:12:47 -0500, you wrote: >> >> >> >>>I'm trying to run some (often user-defined) files on my windows server. >>>Thing is, it seems to want short names (like >>>C:\PROGRA~1\WHATEVER\PROG.EXE). Is there any way to get the short name >>> >>> >>>from a long name? >> >>Take a look at this: >> >>http://makeashorterlink.com/?V25A32BE2 >> >> >> Try putting the long file name in double quotes like "c:\program files\whatever" -- regards, Tom

« previous php.general (#129749) next »