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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to