![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-24 14:15 |
47,815 topics / 349,928 posts / today 0 new / 48,288 members |
| DOS疑难解答 & 问题讨论 (解答室) » Why can't the xcopy command run under pure DOS? |
| Printable Version 13,626 / 55 |
| Floor16 jcyncz | Posted 2006-06-18 10:26 |
| 初级用户 Posts 26 Credits 66 | |
|
There are also folders under the 123 folder (and there is content), I don't have a screenshot. Please try again for me.
|
|
| Floor17 jcyncz | Posted 2006-06-18 10:30 |
| 初级用户 Posts 26 Credits 66 | |
|
I uploaded the XCOPY extracted from DOSCP in WinImage. Please help me check if this XCOPY is normal. It would be best if you use this XCOPY I uploaded to do a test. Thanks!
Attachments XCOPY.rar (6.93 KiB) |
|
| Floor18 Wengier | Posted 2006-06-18 10:39 |
| 系统支持 Posts 10,521 Credits 27,736 | |
Originally posted by jcyncz at 2006-6-18 10:26 AM: 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! |
|
| Floor19 jcyncz | Posted 2006-06-18 10:50 |
| 初级用户 Posts 26 Credits 66 | |
|
Webmaster, have you used the XCOPY program I uploaded? Please try the XCOPY I sent and see if there's something wrong with my XCOPY! Thanks
|
|
| Floor20 Wengier | Posted 2006-06-18 10:52 |
| 系统支持 Posts 10,521 Credits 27,736 | |
Originally posted by jcyncz at 2006-6-18 10:50 AM: I just did a binary comparison with FC, and it seems the same. Well, you can try other folders and see how it goes. Also, please pay attention to any error messages. |
|
| Floor21 jcyncz | Posted 2006-06-18 11:08 |
| 初级用户 Posts 26 Credits 66 | |
|
I have also tried other folders, and it's the same. You'd better use the XCOPY I uploaded to test in pure DOS, make a test of copying several folders with subfolders. Also, I suspect that this XCOPY program of mine is abnormal. Could you please send me your XCOPY to use and see if it can be used normally? Thanks.
|
|
| Floor22 Wengier | Posted 2006-06-18 11:16 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
It has been tried, and it is completely normal. And the files are exactly the same, so it must have nothing to do with the files themselves. Didn't you see any error messages when you copied?
|
|
| Floor23 jcyncz | Posted 2006-06-18 11:19 |
| 初级用户 Posts 26 Credits 66 | |
|
Webmaster, there is no error message, and it can be copied. However, what is copied over is a file - xls, and the folders under it are not copied over.
|
|
| Floor24 Wengier | Posted 2006-06-18 11:20 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Have you tried the parameters I used above (such as /S/E/H/I)?
|
|
| Floor25 jcyncz | Posted 2006-06-18 11:22 |
| 初级用户 Posts 26 Credits 66 | |
|
The file copied over is a long horizontal line followed by XLS, like this: ————xls. And there are no error messages at all. I don't know what's going on.
|
|
| Floor26 jcyncz | Posted 2006-06-18 11:26 |
| 初级用户 Posts 26 Credits 66 | |
|
/S/E/H/I, I haven't used this parameter before, I'm using /s. I'll try it again. Thanks
|
|
| Floor27 jcyncz | Posted 2006-06-18 11:45 |
| 初级用户 Posts 26 Credits 66 | |
|
I tried the parameters /s/e/h/i you gave again. It still doesn't work. It shows:
--------BOOK.XLS -------.XLS Error copying file c:\123\-------.XLS to G:\456\--------.xls Msg id:00000002 1 File(s) copied A:\﹥ But I was copying Chinese files and Chinese folders. |
|
| Floor28 Wengier | Posted 2006-06-18 11:52 |
| 系统支持 Posts 10,521 Credits 27,736 | |
Originally posted by jcyncz at 2006-6-18 11:45 AM: This is just an error message. It can be seen that an error occurred during copying, causing the stop, which is completely different from being unable to copy for no reason. With this, it is easier to locate the problem. Chinese files and Chinese folders can also be copied normally (I have confirmed it just now), but the fact that your file name is displayed as an underscore instead of Chinese indicates that the code page for long Chinese file names is not loaded correctly (this has nothing to do with XCOPY, but is a problem with the code page for long file names). You can first try to copy a directory without Chinese files and Chinese folders. If there is no problem, then try to solve the problem of the code page for long Chinese file names to copy Chinese folders. |
|
| Floor29 jcyncz | Posted 2006-06-18 11:56 |
| 初级用户 Posts 26 Credits 66 | |
|
How to solve this: The code page for long Chinese filenames was not loaded correctly, an issue with the code page for long filenames. But I used an XCOPY copied from this forum and it works normally, just that the full Chinese filenames can't be displayed. How to solve this long filename code problem? Please help me, thank you!
[ Last edited by jcyncz on 2006-6-18 at 12:00 ] |
|
| Floor30 Wengier | Posted 2006-06-18 12:01 |
| 系统支持 Posts 10,521 Credits 27,736 | |
Originally posted by jcyncz at 2006-6-18 11:56 AM: Didn't I tell you to first copy the English folder to test it? It's best to solve the problems one by one. Wait until the English is okay and then deal with the Chinese. Previously on the forum, another XCOPY didn't support long filenames, so only short filenames could be used. The storage methods of the two are completely different, so it's a completely different matter and should not be confused. |
|
| Prev 1 2 3 4 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |