Hi sergey,
you are right....
Sorry for disturb.
bernhart
>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