![]() |
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-09-21 16:53 |
47,812 topics / 349,917 posts / today 0 new / 48,270 members |
| DOS学习入门 & 精彩文章 (教学室) » Quickly Master Common DOS Commands [Original] |
| Printable Version 7,526 / 46 |
| Floor1 kickout | Posted 2002-10-31 00:00 |
| 高级用户 Posts 135 Credits 667 | |
|
help you to master dos quickly
basic commands: 1. d: ----change drive 2. dir ----list file 3. cd ----come to a directory 4. copy ----copy a file or many files 5. type ----show file conment 6. ren ----rename a file 7. del ----delete a file 8. cls ----clear the screen 9. xcopy ----copy a group of files in a directory 10.attrib ----show or change file''s charckter 11.edit ----a editor for write a file 12.chkdsk ----check a disk 13.tree ----list directory tree 14.format ----format a disk for dos 15.md ----make a directory 16.rd ----delete a directory 17.deltree ----delete a directory with all it''s sub directory 18.time ----show system time 19.prompt ----change the prompt ok! now base use-way: 1. d: ----c:>d:a: ----change to drive a: 2. dir ----c:>dir] eg: c:>dir a: ----list files in disk a c:>dir l*.* ----list files whose first letter is "l" c:>dir/w/p ----list files as wide ( 5 files in a line) and page ****** c:>dir , ----list ****** c:>dir/a 3. cd ----c:>cd eg: c:>cd yln ----come to directory named as "yln" c:yln>cd.. ----come back pre-directory c:>cd yln\tool ----come to multiple(deep layer) directory c:yln\tool\cd\..\game ---- turn to another directory 4. copy ----c:>copy file1 file2 eg: c:yln\tool>copy qe.exe a: ----copy qe.exe to sidk a c:yln\wps>copy xue1.wps+xue2.wps xue3.wps ---- let xue1.wps and xue2.wps 合成 a new file named as xue3.wps c:yln\wps>copy xue1.wps xue01.wps ---- copy xue1.wps as new name 5. type ----c:>type filename eg: c:yln\wps>type hlp.txt|more ----show hlp.txt when a page full then pause and wait you press any key continue 6. ren ----c:>ren file1 file2 eg: c:>ren a.bat b.bat ----a.bat rename to b.bat 7. del ----c:>del filename eg: c:>del c:\yln\wps\xue1.bak ----del the file named xue1.bak 8. cls ----c:>cls ----clear the screen 9. xcopy ----c:>xcopy eg: c:yln>xcopy \wps /s/e ----copy the directory "wps" and all it''s sub-directory enclude empty sub-directory 10. attrib ----c:>attribfilename eg: c:yln\wps>attrib +h +r xue1.wps----set file attrib (hide,readonly) 11. edit ----c:>edit eg: c:>edit \yln\wps\wue3.txt ----edit file wue3.txt 12. chedsk ----c:>chkdsk ----check d: 13. tree ----c:>tree ----show d:''s directory 14. format ----c:>format ----format d: for dos 15. md ----c:>md directory-name ----make a new directory 16. rd ----c:>rd directory eg: c:>rd yln ----delete directory named yln (the directory that will be delete MUST be empty.) 17. deltree ----c:>deltree eg: c:>deltree yln/y ----delete directory named yln ,and No ask for your affirm 18. time ----c:>time ----ask the system time,and change the time 19. prompt ----c:>prompt $p$g ----set the prompt in this format: d:\current-path> Also something I wrote before, now dug out to make up the numbers. Hehe... |
|
| Floor2 leslie | Posted 2003-06-21 00:00 |
| 初级用户 Posts 16 Credits 178 | |
|
Why is there no Chinese version?
![]() |
|
| Floor3 hunome | Posted 2003-06-21 00:00 |
| 银牌会员 Posts 721 Credits 2,265 | |
|
1. d: ----change drive Change drive
2. dir ----list file List files and directories 3. cd ----come to a directory Enter a directory 4. copy ----copy a file or many files Copy files 5. type ----show file conment Display file content on screen 6. ren ----rename a file Rename a file 7. del ----delete a file Delete a file 8. cls ----clear the screen Clear the screen 9. xcopy ----copy a group of files in a directory Enhanced version of copy, can copy directories and files 10.attrib ----show or change file's charckter Show and change file attributes 11.edit ----a editor for write a file Open a text editor 12.chkdsk ----check a disk Check disk 13.tree ----list directory tree List all directories 14.format ----format a disk for dos Format disk for DOS 15.md ----make a directory Create a directory 16.rd ----delete a directory Delete empty directory 17.deltree ----delete a directory with all it's sub directory Delete all contents in a directory and its subdirectories 18.time ----show system time Display or modify time 19.prompt ----change the prompt Change prompt |
|
| Floor4 光年 | Posted 2003-06-22 00:00 |
| 初级用户 Posts 6 Credits 129 | |
|
doskey records the commands used after each startup and can also define macro instructions.
mem view memory usage MSD view computer configuration fdisk partition the hard disk sys transfer system files defrag defragment the hard disk interlnk, intersvr DOS dual-machine interconnection more pipeline These are also the commands I commonly use. |
|
| Floor5 wanghuan | Posted 2003-06-22 00:00 |
| 初级用户 Posts 1 Credits 105 | |
|
I am also a DOS enthusiast, but I know really few DOS commands. I hope you can help me and also hope you can teach me.
|
|
| Floor6 leslie | Posted 2003-06-23 00:00 |
| 初级用户 Posts 16 Credits 178 | |
|
Really learned a lot, happy
![]() |
|
| Floor7 k0359 | Posted 2003-06-23 00:00 |
| 初级用户 Posts 3 Credits 117 | |
|
Where are these DOS commands?
|
|
| Floor8 dhtomyygy | Posted 2003-07-27 00:00 |
| 初级用户 Posts 1 Credits 107 | |
|
Thank you for helping me out, it's really nice.
|
|
| Floor9 dzjwzgd | Posted 2003-08-04 00:00 |
| 初级用户 Posts 1 Credits 105 | |
|
Finally found the Chinese commentary, thanks for providing!
|
|
| Floor10 kof | Posted 2003-08-04 00:00 |
| 初级用户 Posts 1 Credits 105 | |
|
I've just started learning DOS, and there are such places, so happy!
|
|
| Floor11 欧阳慧仪 | Posted 2003-10-07 00:00 |
| 初级用户 Posts 10 Credits 140 | |
|
How can those who don't understand English read it??? Is there a Chinese version?
|
|
| Floor12 anfy | Posted 2003-10-10 00:00 |
| 初级用户 Posts 10 Credits 143 | |
|
good
defrag can not use because it will br hurt the HD (The text has some typos, "br" should be "be". The corrected translation is) good defrag cannot be used because it will be hurtful to the HD |
|
| Floor13 ls25145 | Posted 2003-11-15 00:00 |
| 初级用户 Posts 22 Credits 173 | |
|
Dear all experts,
I want to save my keyboard input as a file. Type "copy con c:\test.txt" and press Enter, then I can input content. Then there will be an additional test.txt file in the root directory of drive C, and the content is exactly what I input. But I don't know how to end the input. Please give me your advice! |
|
| Floor14 zovusazm | Posted 2003-11-17 00:00 |
| 初级用户 Posts 11 Credits 153 | |
|
I stared at it for ages and still can't understand it.~
|
|
| Floor15 玩玩而已 | Posted 2003-11-18 00:00 |
| 初级用户 Posts 10 Credits 149 | |
|
LZ
Are all these English written by you? |
|
| 1 2 3 4 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |