Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upercase folder problem
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01268333
Message ID:
01268352
Views:
27
This message has been marked as a message which has helped to the initial question of the thread.
Hi Bernhart,

In Windows folder and file names are case insensitive. As Jos pointed out, you could be missing a backslash at the end of the cDir. Also if there're spaces in the folder/file name, it should be encloused inj double qiotes.
loUpdate.RunUpdateExe([WSCRIPT "] +  ADDBS(cDir) + [codeupdate.vbs"] )
>
>I want launch a vbs script from Vfp
>
> loUpdate.RunUpdateExe("WSCRIPT " +  cDir + "codeupdate.vbs" )
>
>
>But i can't know the exact Uppercase Of cDir.
>It can be 'c:\Amline' or 'c:\amline' or 'c:\AMLINE'
>But i have already a error if the Name is not exact !
>What can i do for this problem ?
>
>bernhart
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform