Questions tagged «xcopy»

6
最快的文件复制方法
如果我们在构建服务器(CCNET)上构建成功,则所有ASP.NET网站文件都将复制到虚拟目录(%output_dir%)中,以便非开发人员可以查看/测试网站的最新版本。在构建结束时,将执行以下bat文件。 rmdir /s /q "%output_dir%" mkdir "%output_dir%" xcopy "%source_dir%*" "%output_dir%" /e /c /i /q /-y 问题是我发现复制速度很慢,并且想知道Windows 2008中是否有比xcopy更快的复制命令?源和目标在同一驱动器上。以下是我们在复制时使用的参数。 /e = copies directories and sub directories including empty ones. /c = continues copying even if there are errors /i = if destination does not exist destination is directory /q = don't display …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.