在这里有两个path要说,第一个是在dos里面的path 256字符的限制,这个是死症只能去避,不能跳跃,方法有二 (MS提供)
1. 把256字符内的其中一段路经映射到一个驱动符里面。例如用:net use or subst
2. 把名字改短
经验:传输文件,可以用winrar 把temp路径设好,zip会掉文件。
第二个path 是指环境变量里面的东西
1. MS 觉得把名字改短总是一个办法,我承认,但要注意命名规范,名字映射经常有问题就不说了。
2. 这个是更好的解决方案,配置问题:
在 %SystemRoot%\System32\config.nt 目录里面加入
SHELL=%systemroot%\system32\command.com /e:2048 (最后的数字可以增加)
Increase the environment size in Config.nt:
Use Notepad to open Config.nt, which is located in the %SystemRoot%\System32 directory.
Add the following statement:
SHELL=%systemroot%\system32\command.com /e:2048
1. 把256字符内的其中一段路经映射到一个驱动符里面。例如用:net use or subst
2. 把名字改短
经验:传输文件,可以用winrar 把temp路径设好,zip会掉文件。
第二个path 是指环境变量里面的东西
1. MS 觉得把名字改短总是一个办法,我承认,但要注意命名规范,名字映射经常有问题就不说了。
2. 这个是更好的解决方案,配置问题:
在 %SystemRoot%\System32\config.nt 目录里面加入
SHELL=%systemroot%\system32\command.com /e:2048 (最后的数字可以增加)
Increase the environment size in Config.nt:
Use Notepad to open Config.nt, which is located in the %SystemRoot%\System32 directory.
Add the following statement:
SHELL=%systemroot%\system32\command.com /e:2048