Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WSH Run command with space in file path
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00356898
Message ID:
00356904
Vues:
14
Guess what I did two seconds after posting the message? Added quotes - loShell.Run('"'+lcFileName+'"', 1, .T.) - works perfect.

>Nigel,
>
>I think it may be that you have to add quotes. (i.e. lcFileName = CHR(34) + lcfilename + CHR(34)). It's a WAG 'cause I haven't tried it.:-)
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform