Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upercase folder problem
Message
De
11/11/2007 05:05:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01268333
Message ID:
01268336
Vues:
15
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all,
>
>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

Bernhart, I am not sure the answer but (a) should'nt cDir include a back slash at the end, and (b) what if you enclose the path and vbs script name inside single quotes as in;
cDir = 'c:\Amline\'
loUpdate.RunUpdateExe("WSCRIPT '" +  cDir + "codeupdate.vbs' " )
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform