Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Path to...is there a limit or something??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00313968
Message ID:
00314514
Vues:
43
>Is it the actual SET PATH command that can't handle it? Can you do something like
>
>SET PATH to blah\blah, blah\blah
>Set Path to &AllTrim(set('path'))) + ',' + moreblah\moreblah
>

No, for the pobvious reason that you can't macro-expand the return from a function directly - you'd have to save it to a memver at a minimum.

Have you considered using the Win32API to convert paths using LFNs to the short name? In addition to the Win32API call to do this, Scripting.FileSystemObject has this capability.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform