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:
00356920
Vues:
19
>Guess what I did two seconds after posting the message? Added quotes - loShell.Run('"'+lcFileName+'"', 1, .T.) - works perfect.

That's what I thought. It's the "Ye Olde Spaces in Path Problem Solution".:-)

>>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.:-)
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform