![]() |
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-08-13 07:41 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Can you copy all files in the entire disk by other methods besides using for? |
| Printable Version 1,524 / 14 |
| Floor1 421062724 | Posted 2007-04-08 07:20 |
| 初级用户 Posts 15 Credits 32 | |
|
I've been learning DOS for a week and wrote the following code.
I saw a code for full-disk copying that didn't use the for command but was implemented using environment variables. But I don't know how to do it. Is there any expert who can give me some guidance? Thanks a lot. [ Last edited by 421062724 on 2007-4-18 at 12:52 PM ] |
|
| Floor2 gudiemao | Posted 2007-04-09 04:14 |
| 新手上路 Posts 4 Credits 7 | |
|
Give it a bump, haha
|
|
| Floor3 xinhepc | Posted 2007-04-09 07:16 |
| 初级用户 Posts 40 Credits 90 From 广州 | |
|
Wow, after learning for a week, you wrote this. I can't even understand it. It's amazing. I've been in touch with DOS for half a year and only know the DIR and COPY commands.
I agree |
|
| Floor4 xiaozhe0 | Posted 2007-04-10 10:28 |
| 新手上路 Posts 6 Credits 14 | |
| Floor5 htysm | Posted 2007-04-13 00:20 |
| 高级用户 Posts 415 Credits 866 | |
|
Excuse me, the original poster, do you want to write a virus? Can you "copy" files with the "+s +h +r" attributes?
It seems the original poster's VBS learning is also very good. With such achievements in such a short time, I admire you. ^O^ [ Last edited by htysm on 2007-4-19 at 03:49 AM ] |
|
| Floor6 Leno | Posted 2007-04-13 11:17 |
| 新手上路 Posts 2 Credits 4 | |
|
Many who didn't study hard before should come to the top. Oh, a good place to study
|
|
| Floor7 421062724 | Posted 2007-04-17 09:52 |
| 初级用户 Posts 15 Credits 32 | |
|
I also want to make a change. I want to use the copy function of type instead of copy there.
|
|
| Floor8 421062724 | Posted 2007-04-19 01:50 |
| 初级用户 Posts 15 Credits 32 | |
|
No one to help???
|
|
| Floor9 guxingyibei | Posted 2007-04-20 11:13 |
| 初级用户 Posts 32 Credits 68 | |
|
Learning for a week and then creating something like this, it seems that a Chinese Einstein is born!
I can only understand about 70%, feeling depressed! |
|
| Floor10 BWSkyer | Posted 2007-04-20 22:28 |
| 中级用户 Posts 180 Credits 367 From 重庆 | |
|
cd /d "%~dp0"
if /i "%cd%"=="%~d0\" (explorer.exe "%~d0") The first part encounters difficulties. What is "%~dp0" in this segment? I saw this parameter for the first time. |
|
| Floor11 bjsh | Posted 2007-04-20 23:03 |
| 银牌会员 Posts 621 Credits 2,000 | |
|
re: ls
If just telling you the answer might mean you only understand so little; It's better to tell you to run hh ntcmds.chm to find for |
|
| Floor12 421062724 | Posted 2007-04-22 11:02 |
| 初级用户 Posts 15 Credits 32 | |
|
Thanks to the experts for the guidance, and I'm continuing to work hard. Because I'm a student and usually live in school, I don't have much time to study. But I'll keep working hard. Thanks to everyone's suggestions and help.
|
|
| Floor13 zqdarkday | Posted 2007-04-22 23:54 |
| 中级用户 Posts 79 Credits 210 From 湖北 | |
|
I agree! I'm also a newbie.
|
|
| Floor14 sxs88 | Posted 2007-08-10 21:40 |
| 初级用户 Posts 26 Credits 52 | |
|
NB is too awesome. One week?????
You put "awesome" on your mouth! You are a master, don't show off your study time. It makes me start to doubt my own IQ. I'm really hurt by you! |
|
| Floor15 lovehack2006 | Posted 2007-08-11 15:34 |
| 初级用户 Posts 64 Credits 135 | |
|
I can't understand what's so great about it
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |