Change the accessed folder to disk drive letter

  
Change the frequently accessed folder to a disk character, which can greatly facilitate the operation of it. Don't you want to do this? Then, the author will make your wishes come true in the following.

Changing the local folder to disk

To change the frequently accessed local disk folder to disk, you can use the Subst command of DOS
. In Windows XP, the command file Subst.exe is stored in the \\Windows\\System32 folder (this command is also available in Windows 98/2000). Its function is to associate the path with the drive letter, that is, replace it with a disk drive letter. The folder name in the format: Subst [drive1: [drive2:]path].

where "Drive1:" is the virtual drive that specifies the path to be assigned, "[drive2:]path" specifies the physical drive and the path to be assigned to the virtual drive. For example, Subst F: d:\\mydoc command, which is to virtualize the d:\\mydoc folder into an F drive. After that, the operation on the F disk is actually the operation of the d:\\mydoc folder. After the command is executed, it remains in effect until the computer is turned off. If you want to virtualize the d:\\mydoc folder to the F drive every time you boot, you can add the subst F: d:\\mydoc command to the C:\\AUTOEXEC.BAT file. In addition, if you want to delete the virtual drive letter before turning off the computer, you can execute the Subst F: /D command in DOS
mode.

disk that has become a shared folder

addition to a local folder, the shared file folder on the same local area network can be mapped as a local disk, we have the following example with Windows XP, explains how to share The folder becomes a local disk:

1. Start Windows Explorer.

2. On the Tools menu, click Map Network Drive.
3. In the Drive box, click the drive letter you want to use to map the drive, for example, select "Z:". Here, you can't use any drive letter that your computer is currently using.

4. In the "Folder" box, type the name of the shared location to be connected using the UNC (Universal Naming Conversion) format, which is in the form: \\\\computername\\sharename.

where "computer name" is the name of the computer you are trying to connect to, and "share name" is the name of the shared folder on that computer. Alternatively, you can click the Browse button and find the computer you want to connect to, the shared location on that computer, and the subfolders in that share.

5. Click the "Finish" button.

Now, in the folder pane in Windows Explorer, you can see the mapped drive (shared folder) created and all other drives on your computer. To disconnect a network drive, click the Disconnect Network Drive command on the Tools menu in the Windows Explorer window.
Copyright © Windows knowledge All Rights Reserved