Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upercase folder problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01268333
Message ID:
01268352
Vues:
28
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform