Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set default to...
Message
De
23/07/2001 08:06:18
 
 
À
15/07/2001 14:41:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00528803
Message ID:
00533830
Vues:
19
>And I will try one more time - you said
>
>"You probably have a space in the SomePath variable."
>
>sys(5) (AFAIK) does not return spaces & there is no macro substitution in the second part of Lucien's problem. So, as far as I see it, your theory on the problem is just as much FUD as Andrews. You saw one part of the problem, & made a judgement on it without addressing the second part of the problem. David Frankenbach has agreed that there must be something else going on, so it's not just me with that opinion.

Create a share on a server with the share name containing a space, such as the legal share name "A Space". Assuming that your server is named MyServer, issue the following commands:

CD "\\MyServer\A Space"
? SYS(5)

Notice that there is now a space in SYS(5), and since you've referenced it by UNC, there's no colon, and it's more than two characters in length.

Try it, you won't be a happy critter at all at all. If you designate the starting folder in the shortcut as a UNC, you'll get bit - the OS sees the UNC and relies on the UNC, not a transient drive mapping...
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform