Applies to Win XP
Assign Drive Letter to local path
Using sync apps like viceversa, is very common some files in "my documents" not to be accesible, due to the fact that the path name + filename to be copied is exceeding maximum characters allowed by WinXP.
This problem can be solved by assigning a drive letter to a particular foldes using SUBST MS DOS command.
For example, the bellow command :
subst M: C:\"Documents and Settings\user.name\My Documents" assigns drive letter M: to the path provided.
Thus you can refer to your documents by drive letter M:\
You can delete this assignment by typing SUBST M: /D
You can list all the assignments just by typing SUBST
Tested May 2011 with vice versa and worked fine!
Assign Drive Letter to netwrok path
SUBST command can be used even for network paths, although "net use" command is proposed for this purpose.
Usage : NET USE g: \\server\share\folder1\folder2
NET USE g: /delete
Tip1: if you want to include large paths with "blanks" use the following synthax with quotes:
subst y: E:\\networkpath\path2\"name1 name 2 name3"
Tip2: For windows 7 open "my computer" and use the "map network drive" command on the upper menu. This will do this job for you.
Bugs :
1. When using SUBST for network path, windows will keep trying to connect to this drive even if the drive is not available, slowing down performance of your PC.
On the other hand NET USE is one shot.
2. SUBST is creating a "recycle bin" for the virtual drive which is not deleted when the virtual drive is deleted by using /D switch.... you have to delete it manually.
Assign Drive Letter to local path
Using sync apps like viceversa, is very common some files in "my documents" not to be accesible, due to the fact that the path name + filename to be copied is exceeding maximum characters allowed by WinXP.
This problem can be solved by assigning a drive letter to a particular foldes using SUBST MS DOS command.
For example, the bellow command :
subst M: C:\"Documents and Settings\user.name\My Documents" assigns drive letter M: to the path provided.
Thus you can refer to your documents by drive letter M:\
You can delete this assignment by typing SUBST M: /D
You can list all the assignments just by typing SUBST
Tested May 2011 with vice versa and worked fine!
Assign Drive Letter to netwrok path
SUBST command can be used even for network paths, although "net use" command is proposed for this purpose.
Usage : NET USE g: \\server\share\folder1\folder2
NET USE g: /delete
Tip1: if you want to include large paths with "blanks" use the following synthax with quotes:
subst y: E:\\networkpath\path2\"name1 name 2 name3"
Tip2: For windows 7 open "my computer" and use the "map network drive" command on the upper menu. This will do this job for you.
Bugs :
1. When using SUBST for network path, windows will keep trying to connect to this drive even if the drive is not available, slowing down performance of your PC.
On the other hand NET USE is one shot.
2. SUBST is creating a "recycle bin" for the virtual drive which is not deleted when the virtual drive is deleted by using /D switch.... you have to delete it manually.
0 σχόλια:
Δημοσίευση σχολίου