Map a Drive Letter to a Folder the Easy Way in Windows Zemljevid Drive Pismo mape v operacijskem sistemu Windows Easy Way
Have you ever needed to repeatedly access a folder that is nested deep inside a giant hierarchy of folders? Ste že kdaj potrebno, da vedno znova dostop do mape, ki je globoko v notranjosti ugnezdena velikan hierarhijo map? Sure, you can always create a shortcut to that folder, but did you know you can actually assign a drive letter to a folder instead? Seveda, lahko vedno ustvarite bližnjico do te mape, pa ste vedeli, da lahko zdaj dodelite črko pogona v mapo namesto tega? Today we'll show you how to do this. Danes vam bomo pokazali, kako to storiti.
This ability has existed in Windows via the subst command for quite a while, so this will also work for you XP users as well. Ta možnost je obstajala v Windows preko subst ukaz za precej časa, tako da bo to tudi dela za vas, kot tudi XP.
Map a Drive Letter the Easy Way Zemljevid črko pogona Easy Way
The easiest way to assign a drive letter to a folder is to use a simple utility called Visual Subst, which gives you a nice graphical interface to assign drive letters, but also does something that the command line version can't… you can set your virtual drives to apply again at startup. Najlažji način dodeliti črko pogona v mapo, je za uporabo enostaven pripomoček imenovan Visual SUBST, ki vam daje prijeten grafični vmesnik dodeliti črke pogonov, vendar tudi ne nekaj, različica zapoved črta, ne more ... lahko nastavite virtualni pogoni uporabljajo spet ob zagonu.
You can download and run the utility without needing to install it, and then simply use the Browse button to select your path, and click the green plus symbol after choosing the drive letter. Si lahko prenesete in zaženete pripomoček ne da bi morali namestiti, nato pa enostavno uporabite gumb Prebrskaj in izberite svojo pot, in kliknite zeleni simbol plus po izbiri črko pogona.

At this point you should see the drive letter show up in the list. Na tej točki bi morali videti črko pogona prikaže v seznamu. (Note that you can delete it by highlighting and choosing the red X icon, or change the path / letter by using the Save button. (Ne pozabite, da lahko izbrišete s poudarjanjem in izbiro rdeča ikona X, ali spremeniti poti / pismo z gumbom Shrani.

If you want to save the drives, you'll want to select the “Apply virtual drives on Windows startup” option. Če želite shraniti pogonov, boste želeli izbrati "Apply virtualni voziti ob zagonu operacijskega sistema Windows" možnost.
Now when you open up your Computer window, you should see the new drive show up in the list. Zdaj, ko odprete svoj računalnik okno, bi morali videti nov pogon prikažejo na seznamu.

The contents of the new M: drive will actually be the contents of my desktop folder. Vsebina novega M: voziti se bo dejansko vsebino mape svoj pult.
Download Visual Subst from ntwind.com Visual Download subst iz ntwind.com
Assign Drive Letters from the Command Prompt Določi Drive Pisma iz ukaznega poziva
If you are more the keyboard ninja type, or just want to know how to use the command line version, you can use the subst command to map drive letters the same way by using the following syntax: Če ste bolj tip ninja tipkovnico, ali pa samo želijo vedeti, kako uporabljati različice z ukazno vrstico, lahko uporabite ukaz subst na zemljevidu črke pogonov na enak način, z uporabo naslednjo sintakso:
subst <driveletter> <folder path> subst <driveletter> <folder path>
For example, to map the M: drive to my desktop folder I would use the following command: Na primer, na zemljevidu M: voziti se v svoj pult zgibalnik bi uporabite naslednji ukaz:
subst M: c:\users\geek\desktop subst M: c: \ users \ geek \ desktop
If you just want to see which drive letters are assigned, you can use subst without any arguments, as shown here: Če želite videti samo črke pogonov, ki so dodeljeni, lahko uporabite subst brez argumentov, kot je prikazano tukaj:

To delete a drive letter you can use the /D switch instead of a path… for instance, to delete the M: drive that I just created, I would use the following syntax: Če želite zbrisati črko pogona, lahko uporabite / D stikalo namesto poti ... za primer, da se črta M: voziti se, da sem pravkar ustvarili, bi uporabil naslednjo sintakso:
subst M: /D subst M: / D
Now when you use the subst command to see the current drives, you'll see nothing in the list. Zdaj, ko uporabite ukaz subst za prikaz trenutne pogonov, boste videli ničesar na seznamu.

I've found the subst command to be very useful, not just in shortening folder paths but also in one instance where I wanted to delete my second partition… I just reassigned the D: drive letter to point to C: and copied all the data over. Ive 'ustanavljati subst ukaz, da je zelo koristno, ne samo v mapi skrajšanjem poti, temveč tudi v enem primeru, ko sem hotel izbrisati svoj druge particije ... sem premeščen D: pogona pismo kaže na C: in kopirati vse podatke čez. That way the application shortcuts still worked without having to reinstall the application. Tako uporabo bližnjice še delal, ne da bi znova uporabi.

Daily Email Updates Dnevni Email Updates
You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:



You can write a quick batch and add a shortcut to the start up. Lahko napišete hitro serije in dodati bližnjico zagon.
Quite nice tool, but it shows the free space of the new drive equal to the original drive than the size of the folder on which the new drive points. Prav fin orodje, vendar pa kaže, prostor za nov pogon, ki je enak prvotni disk kot velikost mape, na katerem nov pogon točk. Is that a bug? Je to bug?
Being a PC user since the early 80's, I had been using this SUBST command for a long time. Kot uporabnik PC od zgodnjih 80-ih, sem bil uporabo tega ukaza SUBST za dolgo časa. There is nothing new about this. Nič novega o tem. And rather than using this GUI, I'd just use the command line. In namesto z uporabo tega GUI, bi jaz šele raba zapoved črta.
And now that I'm away from Windows, I use symlinks instead, under Linux. In zdaj, da sem stran od operacijskega sistema Windows, jaz raba symlinks namesto, pod Linux. Linux rocks !!!!! Linux rocks !!!!!
@Jean-Francois @ Jean-Francois
You can actually use symlinks in Vista now as well: Lahko dejansko uporablja symlinks v razgled zdaj tudi:
http://www.howtogeek.com/howto.....ows-vista/ http://www.howtogeek.com/howto.....ows-vista/
@satansoldier @ satansoldier
Once it is mapped via command prompt then the mapping stays there even after reboot. Ko je kartograf preko ukazni poziv potem kartograf ostane tam tudi po odmevajoč. No need to run a single BAT file at startup over and over. Ni potrebno teči eno datoteko BAT ob zagonu znova in znova.
I personally don't like drive mappings. Jaz osebno ne maram voziti mappings. Would rather use shortcuts to UNC path. Bi raje uporabite bližnjice do poti UNC.
The last time I use used the subst command, it didn't persist past reboot. Zadnjič, ko sem uporabo uporabljajo subst ukaz, da ne obstajajo preteklosti odmevajoč.
I would guess the apply on startup command in that program just reruns the subst command on startup. Verjetno bi se ob zagonu ukaz v tem programu le reruns subst ukaz za začetek.
My post about a batch at startup was to combat “does something that the command line version can't… you can set your virtual drives to apply again at startup.” Moj post o seriji pri zagonu je za boj proti "ni nekaj, kar je različica zapoved črta, ne more ... lahko nastavite stvaren voziti se spet uporablja ob zagonu."
@jd2066 @ jd2066
You're right, I'm thinking of the NET USE command. Prav imaš, mislim na ukaz net use. Which can work in a similar way. Katere lahko dela na podoben način. Just share out a folder on your hard drive and map to it with the NET USE command. Samo delež iz mape na trdem disku in zemljevid, da jo z ukazom net use. You can use your own computer name when doing so. Lahko uporabite svoje ime računalnika pri tem. It will persist past reboot. To bo ostala preteklosti odmevajoč.
http://technet.microsoft.com/e.....90717.aspx http://technet.microsoft.com/e.....90717.aspx
This program made photoshop loose the path to all it's photos. Ta program je photoshop izgubijo vse poti, da je fotografij. It keeped thinking that my photos were on Z drive where my downloads actually were. Prav keeped misleč, da moje fotografije so na disku Z moje datoteke, kjer so bili dejansko.
What happens if you delete the folder (because you don't need it anymore!)? Kaj se zgodi, če izbrišete mapo (ker ga ne potrebujete več!)?
If you didn't want to create a *.cmd or *.bat script file you could also create a shortcut with the following as the “target”/”Location” Če ne želite ustvariti *. cmd ali *. bat skripta datoteko, ki jo prav tako lahko ustvarite bližnjico z naslednjimi kot "cilj" / "Location"
%COMSPEC% /C “SUBST M: D:\MyFolder >NUL 2>&1″ % COMSPEC% / C "SUBST M: D: \ MyFolder> NUL 2> & 1"
Note the quotes. Opomba quotes. Use whatever you like as the shortcut name. Use kar ti je všeč, kot bližnjico ime. After it is created, use the shortcut properties (right-click on the shortcut and select “Properties”) to change the shortcut “Icon” if you want. Ko je ustvarjena, uporabite bližnjico lastnosti (desni klik na bližnjico in izberite "Properties"), za spremembo bližnjic "Icon", če hočeš. Also, if you don't like the “flash” that occurs when you open the shortcut properties and change the box “Run:” to “Minimized”. Tudi, če vam ni všeč "flash", ki se pojavi, ko odprete priročni lastnosti in spremembe polje "Run" do "minimiran".
This shortcut will invoke the shell (Windows command processor) and execute the SUBST command. Ta bližnjica bo sklicevala lupina (Windows ukaz procesor) in izvršitev ukaza SUBST. The ” >NUL 2>&1″ throws away any messages that the SUBST command may generate. "> NUL 2> & 1" vrže proč vseh sporočil, da lahko ukaz SUBST ustvarjajo.
Then you can independently copy/move the shortcut to anywhere (desktop, quick launch, start menu…) and not be tied to the location of a script file. Potem lahko neodvisno kopirati / premakniti bližnjico kjerkoli (namizje, hiter začetek, začetek meni ...) in ne sme biti vezan na mesto skriptne datoteke. For example, if you placed the shortcut in your “start” folder then the drive would be created every time you login. Na primer, če ste postavili bližnjico v vaš "start" mapo, nato pogon ne bi oblikoval vsakič, ko prijavo.
If you REALLY want to get fancy you could create a shortcut “toggle” by using the following as the “location”/”target” Če hočeš pošteno zaslužiti fancy si lahko ustvarite bližnjice "zatik", z uporabo naslednjih kot "lokacija" / "cilj"
%COMSPEC% /C “IF exist M:\ ( SUBST M: /D >NUL 2>&1 ) ELSE ( SUBST M: D:\MyFolder >NUL 2>&1 )” % COMSPEC% / C ", če obstajajo M: \ (SUBST M: / D> NUL 2> & 1) ELSE (SUBST M: D: \ MyFolder> NUL 2> & 1)"
Every time you double click on the shortcut it will delete “M:” if the drive exists, otherwise it will create it. Vsakič, ko boste dvakrat kliknite na bližnjico, da bo izbrisati "M:" če pogon obstaja, sicer bo ustvaril to.
I just thought of a RELLY fancy “toggle”. Pravkar sem pomislil relly domišljijsko "toggle". This reports the status of your drive (deleted or dreated). Ta poročila stanje vašega pogona (izbrisati ali dreated). Change your “location”/”target” to: Spremenite "lokacija" / "cilj" v:
%COMSPEC% /C “IF exist M:\ ( SUBST M: /D & ECHO Drive M: deleted & SUBST & pause ) ELSE ( SUBST M: D:\MyFolder & SUBST & pause )” % COMSPEC% / C ", če obstajajo M: \ (SUBST M: / R & ECHO Drive M: črtano & SUBST & pavza) ELSE (SUBST M: D: \ MyFolder & SUBST & pavza)"
Of course, to see the results, your shortcut properties “Run:” window must NOT be set to “Minimized”. Seveda, za prikaz rezultatov, mora vaš bližnjica lastnosti "Run:" okno ne sme biti na "minimiran".
I have found (at least in my system – win xp -) that Subst mess up with the attribution of the drive letter if you insert a removable drive AFTER you issue the subst command. Ugotovil sem, da (vsaj v mojem sistemu - sušiti na zraku xp -), ki subst nered s pripisom črko pogona, če vstavite odaljitev voziti po tem, ko izda ukaz subst.
Let's say that your subst target is F:, and the next available drive letter (before subst) is F:: when you plug-in the device, Windows will associate the letter F: to the device but you can't see the removable drive content beacuse is “hidden” by the SUBST drive letter target. Recimo, da vaš subst cilj je F:, in naslednjo razpoložljivo črko (pred subst), je F:: ko plug-in naprave, Windows bo sodelavec pismo F: za napravo, vendar ne vidite odstranljivo voziti se vsebina, saj je "skrito" s črko pogona SUBST cilja. You have to SUBST /D in order to see the removable drive. Moraš SUBST / D, da bi videli izmenljivi disk. I have to remember to not target the next free drive letter with subst to circumnavigate the problem. Moram spomniti, da niso ciljno usmerjene na naslednjo prosto črko pogona, s subst za Obilaziti okoli problem.
Paul, Paul,
I have also seen that problem with NET USE or windows sharing drives. Prav tako sem videl, da je problem z net use ali okna delitev pogonov. It's a generic bug in XP, simple solution is exactly as you stated, just assign letters to static things further down the alphabet. To je generična žuželka v XP, preprosta rešitev je točno tako, kot si navedel, samo dodeli pisma statične stvari še navzdol abecede.