Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set default to...
Message
De
23/07/2001 08:51:22
 
 
À
23/07/2001 08:06:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00528803
Message ID:
00533848
Vues:
22
>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...

That's clarified part of the issue of sys(5), & the possibility of spaces in the value returned, again thanks.

The second part of the problem, as stated, was that the "set default to sys(5)" would not compile - now with the above would you expect a compile time or run-time error.
Len Speed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform