Originally posted by jcyncz at 2006-6-18 10:26 AM:
123文件夹下还有文件夹哟(且有内容),我没有屏幕截图。麻烦你再试一下吧。
文件夹下还有文件夹和文件可不是什么问题哦。我现在C:\toolkit文件夹中包含展开后的PowerQuest Deploy Toolkit整个软件包,里面有许多文件和文件夹(包括长文件名)。现将它复制到D:\456文件夹中。D:\456文件夹尚不存在(之前的已删除),我用XCOPY命令行参数/I直接将D:\456作为自动创建并复制的目标文件夹(免得到时候提示时还要输入D),同时指定/E参数(即也复制空文件夹)、/H参数(即也复制隐藏文件)。现输入以下命令:
A:\>XCOPY C:\toolkit\*.* D:\456 /S/E/H/I
Deploy Toolkit manual.pdf
PARTINFO\Dos\PartInfo.exe
PARTINFO\Linux\PartInfo
PARTINFO\Win\PartIn9x.exe
PARTINFO\Win\PartInNT.exe
PQA\Dos\PqaBldD.exe
PQA\Dos\PqaBldD.rtc
PQA\Dos\PqaDplyD.exe
PQA\Dos\PqaDplyD.rtc
PQA\Linux\pqabuild
PQA\Linux\pqabuild.rtc
PQA\Linux\pqadeploy
PQA\Linux\pqadeploy.rtc
PQA\Win\PqaBuild9x.exe
PQA\Win\PqaBuild9x.rtc
PQA\Win\PqaBuildNt.exe
PQA\Win\PqaBuildNt.rtc
PQA\Win\PqaDeploy9x.exe
PQA\Win\PqaDeploy9x.rtc
PQA\Win\PqaDeployNt.exe
PQA\Win\PqaDeployNt.rtc
PQACCESS\Dos\PqAccD.exe
PQACCESS\Dos\PqAccD.rtc
PQACCESS\Linux\pqaccess
PQACCESS\Linux\pqaccess.rtc
PQACCESS\Win\PQAccess9x.exe
PQACCESS\Win\PQAccess9x.rtc
PQACCESS\Win\PQAccessNT.exe
PQACCESS\Win\PQAccessNT.rtc
PQDISK\Dos\PqDisk.exe
PQDISK\Linux\PqDisk
PQDISK\Win\PqDisk9X.exe
PQDISK\Win\PqDiskNT.exe
PQDISK\Win\PQVXD.vxd
PQIDEPLOY\Dos\PQIDplyD.exe
PQIDEPLOY\Dos\PQIDplyD.rtc
PQIDEPLOY\Linux\pqideploy
PQIDEPLOY\Linux\pqideploy.rtc
PQIDEPLOY\Win\PQIDeploy.exe
PQIDEPLOY\Win\PQIDeploy.rtc
PQIEXTRACT\Dos\PqiExtD.exe
PQIEXTRACT\Dos\PqiExtD.rtc
PQIEXTRACT\Linux\pqiextract
PQIEXTRACT\Linux\pqiextract.rtc
PQIEXTRACT\Win\PqiExt9x.exe
PQIEXTRACT\Win\PqiExt9x.rtc
PQIEXTRACT\Win\PqiExtNT.exe
PQIEXTRACT\Win\PqiExtNT.rtc
PQQUERY\Dos\PqQuery.exe
PQQUERY\Win\PqQuery32.exe
PTEDIT\Dos\PtEditD.exe
PTEDIT\Win\PQBOOT32.exe
PTEDIT\Win\PtEdit32.exe
VBE\CALDERA.MBR
VBE\PQVXD.vxd
VBE\REBOOT.COM
VBE\restrmbr.exe
VBE\SAMPLE.VFD
VBE\VFile.exe
VBE\VFileX.exe
VBE\vfinst9x.exe
VBE\VFINSTD.EXE
VBE\VFInstNT.dll
VBE\VFInstNT.exe
VBE\VFLOPPY.SYS
VBE\VFLPPYLD.SYS
VBE\VFRSTMBR.COM
VBE\Linux\vfinstlx
68 File(s) copied
A:\>
结果完全正常!
Originally posted by jcyncz at 2006-6-18 10:26 AM:
There are still folders in the 123 folder (and there is content), but I don't have a screenshot. Please try again.
Having folders and files under a folder is not a problem at all. Now, in my C:\toolkit folder, there is the entire expanded PowerQuest Deploy Toolkit software package, which contains many files and folders (including long filenames). Now I copy it to the D:\456 folder. The D:\456 folder does not exist yet (the previous one has been deleted). I use the XCOPY command line parameter /I to directly set D:\456 as the target folder to be automatically created and copied (so that I don't have to enter D when prompted later), and specify the /E parameter (that is, also copy empty folders), the /H parameter (that is, also copy hidden files). Now enter the following command:
A:\>XCOPY C:\toolkit\*.* D:\456 /S/E/H/I
Deploy Toolkit manual.pdf
PARTINFO\Dos\PartInfo.exe
PARTINFO\Linux\PartInfo
PARTINFO\Win\PartIn9x.exe
PARTINFO\Win\PartInNT.exe
PQA\Dos\PqaBldD.exe
PQA\Dos\PqaBldD.rtc
PQA\Dos\PqaDplyD.exe
PQA\Dos\PqaDplyD.rtc
PQA\Linux\pqabuild
PQA\Linux\pqabuild.rtc
PQA\Linux\pqadeploy
PQA\Linux\pqadeploy.rtc
PQA\Win\PqaBuild9x.exe
PQA\Win\PqaBuild9x.rtc
PQA\Win\PqaBuildNt.exe
PQA\Win\PqaBuildNt.rtc
PQA\Win\PqaDeploy9x.exe
PQA\Win\PqaDeploy9x.rtc
PQA\Win\PqaDeployNt.exe
PQA\Win\PqaDeployNt.rtc
PQACCESS\Dos\PqAccD.exe
PQACCESS\Dos\PqAccD.rtc
PQACCESS\Linux\pqaccess
PQACCESS\Linux\pqaccess.rtc
PQACCESS\Win\PQAccess9x.exe
PQACCESS\Win\PQAccess9x.rtc
PQACCESS\Win\PQAccessNT.exe
PQACCESS\Win\PQAccessNT.rtc
PQDISK\Dos\PqDisk.exe
PQDISK\Linux\PqDisk
PQDISK\Win\PqDisk9X.exe
PQDISK\Win\PqDiskNT.exe
PQDISK\Win\PQVXD.vxd
PQIDEPLOY\Dos\PQIDplyD.exe
PQIDEPLOY\Dos\PQIDplyD.rtc
PQIDEPLOY\Linux\pqideploy
PQIDEPLOY\Linux\pqideploy.rtc
PQIDEPLOY\Win\PQIDeploy.exe
PQIDEPLOY\Win\PQIDeploy.rtc
PQIEXTRACT\Dos\PqiExtD.exe
PQIEXTRACT\Dos\PqiExtD.rtc
PQIEXTRACT\Linux\pqiextract
PQIEXTRACT\Linux\pqiextract.rtc
PQIEXTRACT\Win\PqiExt9x.exe
PQIEXTRACT\Win\PqiExt9x.rtc
PQIEXTRACT\Win\PqiExtNT.exe
PQIEXTRACT\Win\PqiExtNT.rtc
PQQUERY\Dos\PqQuery.exe
PQQUERY\Win\PqQuery32.exe
PTEDIT\Dos\PtEditD.exe
PTEDIT\Win\PQBOOT32.exe
PTEDIT\Win\PtEdit32.exe
VBE\CALDERA.MBR
VBE\PQVXD.vxd
VBE\REBOOT.COM
VBE\restrmbr.exe
VBE\SAMPLE.VFD
VBE\VFile.exe
VBE\VFileX.exe
VBE\vfinst9x.exe
VBE\VFINSTD.EXE
VBE\VFInstNT.dll
VBE\VFInstNT.exe
VBE\VFLOPPY.SYS
VBE\VFLPPYLD.SYS
VBE\VFRSTMBR.COM
VBE\Linux\vfinstlx
68 File(s) copied
A:\>
The result is completely normal!