Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Space in folder name
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Space in folder name
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01002904
Message ID:
01002904
Vues:
54
Hi friends
am running simple following commands which returns ole error could not find specified file.

lo=createobject('wscript.shell')
lo.run('c:\java setup\javainstall.exe',0,1) && it returns abv error

i figured out its bcoz of space in folder name (i.e. Java setup). i tried following but to no avail.

lcpath='c:\java setup\javainstall.exe'

lo.run((lcpath),0,1) && same error
lo.run('&lcpath',0,1) && same error
lo.run(eval(lcpath),0,1) && same error
lo.run('&lcpath.',0,1) && same error

if i remove space in the folder name everything works as expected .
any ideas on how to fix this.
Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform