Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Neat trick on Win2K - map a C: dir to a drive
Message
De
25/04/2002 07:13:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/04/2002 20:39:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00648943
Message ID:
00649055
Vues:
15
>This may be well known, but it wasn't to me...
>
>I asked our crack support guy today how I could best simulate the environment intended for production as regards database layout/access, etc. I had the path statements in all of the MAINs set per the final requirement, with a 'startup-dir\data\' as the last to permit me to test. But I wanted a way to test the intended configuration before actually going to production.
>He hmmmm'ed a second and then said 'you should be able to map any directory on your C: drive to any other drive letter. That should work.'.
>
>It sounded strange to me but I went into Explorer-->Tools-->Map Network Drive, selected a drive letter, clicked the 'Browse' button in its window, went down the tree to get my machine, then my C: drive then highlighted a directory name. Clicked the OK button et voila - a directory on my own C: drive now referable as "X:".
>
>It simply never occurred to me to even try such a thing.
>I thought other people might be in the same boat, thus this note.
>
>Cheers

Here, we use a UNC name like "\\MyServer". We didn't find it necessary to substitute drive letters (UNC names do, however, cause problems in VFP if there are spaces anywhere along the path). However, I believe this can't be simulated on my own machine.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform