|
majun2008218
禁止访问
积分 35
发帖 7
注册 2006-5-15 来自 湖南
状态 离线
|
『楼 主』:
dos学电脑必看篇
使用 LLM 解释/回答一下
注意:本文章只用于ms-dos
第一章
DATE 設定、顯示日期 內部指令
TIME 設定、顯示時間 內部指令
VER 顯示DOS的版本 內部指令
PROMPT 改變DOS提示符號 內部指令
DATE
格式: DATE
範例: C:\>DATE 9-9-99
將系統日期設為1999年九月九日
TIME
格式: TIME
範例: C:\>TIME 9:9
將系統時間設為九點九分
VER
格式: VER
範例: C:\>VER
顯示DOS版本
PROMPT
格式: PROMPT
說明: PROMPT所命令所提供的符號有:
符號 產生之標示
$T 系統時間
$D 系統日期
$P 目前工作目錄
$V DOS版本的號碼
$N 目前工作之磁碟機
$G ">"符號
$L "<"符號
範例: C:\>PROMPT $T$G
第二章
FORMAT 格式化磁碟機 外部指令
SYS 複製系統檔案 外部指令
SCANDISK 檢查磁碟機是否有壞軌 外部指令
DISKCOPY 複製磁碟片 外部指令
FDISK 設定、顯示磁碟機的分割(partition) 外部指令
BACKUP 備份資料 外部指令
RESTORE 將備份資料讀出 外部指令
VOL 顯示磁碟機的標示(label) 內部指令
LABEL 設定磁碟機標示(label) 外部指令
FORMAT 格式化磁碟機
格式: FORMAT
範例: C:\>FORMAT a:/S
將a磁碟機內之磁碟片格式化,並複製開機系統檔,使該磁碟片具備開機之能力,並在a磁碟片中產生根目錄。
SYS 複製系統檔案
格式: SYS
範例: C:\> SYS a:
將開機系統檔案複製到a磁碟機上的磁片,使之具備開機能力。
SCANDISK 檢查磁碟機是否有壞軌
格式: SCANDISK
範例: C:\> SCANDISK D:
檢查磁碟機D是否有壞軌
DISKCOPY 複製磁碟片
格式: DISKCOPY
範例: C:\>DISKCOPY A: B:
將a磁碟片的內容完全拷貝至b磁碟片。
FDISK 設定、顯示磁碟機的分割(partition)
格式: FDISK
說明: 對一個新個硬式磁碟機做partition的規畫。
範例: C:\>FDISK
BACKUP 備份資料
格式: BACKUP D:
範例: C:\> BACKUP C:\PE2\*.* A:
將C磁碟PE2目錄下的資料備份至A磁碟機上。
RESTORE 將備份資料讀出
格式: RESTORE
範例: C:\> RESTORE A: C:\PE2\*.*
將備份檔案讀出。
VOL 顯示磁碟機的標示(label)
格式: VOL
範例: C:\> VOL C:
顯示 C磁碟機的標示
LABEL 設定磁碟機標示(label)
格式: LABEL
範例: C:\>LABELL C: MAIN
將C磁碟機的標示(label)設為MAIN
地三章
COPY 檔案複製 內部指令
XCOPY 檔案複製(可含子目錄) 外部指令
DEL(ERASE) 刪除檔案 內部指令
DELTREE 刪除整個目錄下的檔案(含子目錄) 外部指令
RENAME 更改檔案名稱 內部指令
TYPE 顯示檔案內容 內部指令
MORE 分頁顯示檔案內容 外部指令
PRINT 列印檔案 外部指令
ATTRIB 設定、顯示檔案屬性 外部指令
MOVE 搬移檔案位置 外部指令
COPY 檔案複製
格式: COPY 來源檔名 目的檔名
範例: C:\>COPY C:\1.TXT D:\2.TXT
將C:\1.TXT檔案拷貝至D槽中,並且命名為 2.TXT
XCOPY 檔案複製(可含子目錄)
格式: XCOPY 來源檔名 目的檔名
範例: C:\>XCOPY C:\DOS\*.* A: /s
將C:\DOS目錄下的檔案(含子目錄)拷貝至A磁碟機。
DEL 刪除檔案
格式: DEL 檔案
範例: C:\>DEL A:*.*
將A磁碟機下的檔案殺掉(不含子目錄)
註:若磁碟片處於防寫狀態下,則會出現Write Protected的錯誤訊息。
DELTREE 刪除整個目錄下的檔案(含子目錄)
格式: DEL 路徑
範例: C:\>DEL A:
將A磁碟機根目錄下的檔案全部刪除(含子目錄,但不含隱藏檔)
RENAME 更改檔案名稱
格式: REN 舊檔名 新檔名
範例: C:\>REN 1.TXT 2.TXT
將1.TXT改名為2.TXT
TYPE 顯示檔案內容
格式: TYPE 檔名
範例: C:\>TYPE 1.TXT
將1.TXT的檔案內容顯示在螢幕上。
C:\>TYPE 1.TXT > LPT
將1.TXT的檔案內容顯示到LPT上(印表機),即印出1.TXT之意。
C:\>TYPE 1.TXT >2.TXT
將1.TXT的內容轉向到2.TXT去,等於COPY 1.TXT 2.TXT
MORE 分頁顯示檔案內容
格式: MORE 檔名
範例: C:\>MORE 1.TXT
若檔案內容太多,則可使用MORE指令,命令電腦一次只顯示一頁內容。
PRINT 列印檔案
格式: PRINT 檔名
範例: C:\>PRINT 1.TXT
將1.TXT的內容印出。
ATTRIB 設定、顯示檔案屬性
格式: ATTRIB 檔名
說明: R:唯獨 A:備份 S:系統 H:隱藏
範例: C:\>ATTRIB -H 1.TXT
將1.TXT設為隱藏檔。
MOVE 搬移檔案位置
格式: MOVE 檔案名稱 檔案名稱
範例: C:\>MOVE \AAA\1.TXT \BBB
將AAA目錄下的1.TXT 搬移到BBB目錄下。
第四章
MD(MKDIR) 建立目錄 內部指令
CD(CHDIR) 轉移目錄 內部指令
RD(RMDIR) 刪除子目錄 內部指令
PATH 設定尋找路徑 內部指令
TREE 列出目錄之樹狀結構 外部指令
MD(MKDIR) 建立目錄
格式: MD 目錄名稱
範例: C:\>MD TEMP
建立一個名為TEMP目錄。
CD(CHDIR) 轉移目錄
格式: CD 目錄名稱
範例: C:\>CD \ET3\TEMP
轉移工作目錄至根目錄下的ET3目錄下的TEMP目錄。
RD(RMDIR) 刪除子目錄
格式: RD 目錄名稱
範例: C:\>RD \ET3\TEMP
刪除根目錄下的ET3目錄下的TEMP子目錄,但TEMP子目錄下必須無其他檔案。
PATH 設定、顯示DOS搜尋執行檔的路徑
格式: PATH 路徑 路徑]]
範例: C:\>PATH C:\; C:\DOS; C:\ET3
設定執行檔的搜尋路徑為C:\、C:\DOS與C:\ET3
TREE 列出目錄之樹狀結構
格式: TREE
範例: C:\>TREE
顯示C根目錄下的的目錄之樹狀結構。
第五章
MEM 顯示目前記憶體之使用狀況 外部指令
MEM 顯示目前記憶體之使用狀況
格式: MEM ‧‧‧
範例: C:\>MEM /C
Note: This article is only for MS-DOS
Chapter 1
DATE Set, display date internal command
TIME Set, display time internal command
VER Display DOS version internal command
PROMPT Change DOS prompt internal command
DATE
Format: DATE[mm-dd-yy]
Example: C:\>DATE 9-9-99
Set the system date to September 9, 1999
TIME
Format: TIME [hh:mm:ss.xx]
Example: C:\>TIME 9:9
Set the system time to 9:09
VER
Format: VER
Example: C:\>VER
Display DOS version
PROMPT
Format: PROMPT [prompt]
Description: The symbols provided by the PROMPT command are:
Symbol Generated mark
$T System time
$D System date
$P Current working directory
$V DOS version number
$N Current working drive
$G ">" symbol
$L "<" symbol
Example: C:\>PROMPT $T$G
Chapter 2
FORMAT Format drive external command
SYS Copy system files external command
SCANDISK Check drive for bad sectors external command
DISKCOPY Copy disk external command
FDISK Set, display drive partition external command
BACKUP Backup data external command
RESTORE Read backup data external command
VOL Display drive label internal command
LABEL Set drive label external command
FORMAT Format drive
Format: FORMAT [D:][/S]
Example: C:\>FORMAT a:/S
Format the disk in drive a and copy the boot system file so that the disk has boot capability and create a root directory in drive a.
SYS Copy system files
Format: SYS [D:]
Example: C:\> SYS a:
Copy the boot system file to the disk in drive a to make it bootable.
SCANDISK Check drive for bad sectors
Format: SCANDISK [D:]
Example: C:\> SCANDISK D:
Check drive D for bad sectors
DISKCOPY Copy disk
Format: DISKCOPY [D1:] [D2:]
Example: C:\>DISKCOPY A: B:
Completely copy the contents of drive a disk to drive b disk.
FDISK Set, display drive partition
Format: FDISK
Description: Plan the partition for a new hard drive.
Example: C:\>FDISK
BACKUP Backup data
Format: BACKUP D: [path] [filename]
Example: C:\> BACKUP C:\PE2\*.* A:
Backup the data in the PE2 directory on drive C to drive A.
RESTORE Read backup data
Format: RESTORE [D:] [path]
Example: C:\> RESTORE A: C:\PE2\*.*
Read the backup file.
VOL Display drive label
Format: VOL [D:]
Example: C:\> VOL C:
Display the label of drive C
LABEL Set drive label
Format: LABEL [D:] [LABEL]
Example: C:\>LABELL C: MAIN
Set the label of drive C to MAIN
Chapter 3
COPY File copy internal command
XCOPY File copy (can include subdirectories) external command
DEL(ERASE) Delete file internal command
DELTREE Delete all files in a directory (including subdirectories) external command
RENAME Change file name internal command
TYPE Display file content internal command
MORE Page display file content external command
PRINT Print file external command
ATTRIB Set, display file attributes external command
MOVE Move file location external command
COPY File copy
Format: COPY [source path] source file name [destination path] destination file name
Example: C:\>COPY C:\1.TXT D:\2.TXT
Copy the file C:\1.TXT to drive D and name it 2.TXT
XCOPY File copy (can include subdirectories)
Format: XCOPY [source path] source file name [destination path] destination file name
Example: C:\>XCOPY C:\DOS\*.* A: /s
Copy the files in the C:\DOS directory (including subdirectories) to drive A.
DEL Delete file
Format: DEL file
Example: C:\>DEL A:*.*
Delete the files in drive A (excluding subdirectories)
Note: If the disk is in write-protected state, a Write Protected error message will appear.
DELTREE Delete all files in a directory (including subdirectories)
Format: DEL path
Example: C:\>DEL A:
Delete all files in the root directory of drive A (including subdirectories, but excluding hidden files)
RENAME Change file name
Format: REN [D:] [path] old file name new file name
Example: C:\>REN 1.TXT 2.TXT
Rename 1.TXT to 2.TXT
TYPE Display file content
Format: TYPE [D:][path] file name
Example: C:\>TYPE 1.TXT
Display the content of 1.TXT on the screen.
C:\>TYPE 1.TXT > LPT
Display the content of 1.TXT to LPT (printer), that is, print 1.TXT.
C:\>TYPE 1.TXT >2.TXT
Redirect the content of 1.TXT to 2.TXT, which is equivalent to COPY 1.TXT 2.TXT
MORE Page display file content
Format: MORE [D:][path] file name
Example: C:\>MORE 1.TXT
If the file content is too much, you can use the MORE command to make the computer display only one page of content at a time.
PRINT Print file
Format: PRINT [D:][path] file name
Example: C:\>PRINT 1.TXT
Print the content of 1.TXT.
ATTRIB Set, display file attributes
Format: ATTRIB [+R|-R] [+A|-A] [+S|-S] [+H|-H] file name
Description: R: Read-only A: Archive S: System H: Hidden
Example: C:\>ATTRIB -H 1.TXT
Set 1.TXT as a hidden file.
MOVE Move file location
Format: MOVE [D:] [path] file name [D:] [path] file name
Example: C:\>MOVE \AAA\1.TXT \BBB
Move 1.TXT in the AAA directory to the BBB directory.
Chapter 4
MD(MKDIR) Create directory internal command
CD(CHDIR) Change directory internal command
RD(RMDIR) Delete subdirectory internal command
PATH Set search path internal command
TREE List directory tree structure external command
MD(MKDIR) Create directory
Format: MD [D:] [path] directory name
Example: C:\>MD TEMP
Create a directory named TEMP.
CD(CHDIR) Change directory
Format: CD [D:] [path] directory name
Example: C:\>CD \ET3\TEMP
Change the working directory to the TEMP directory under the ET3 directory under the root directory.
RD(RMDIR) Delete subdirectory
Format: RD [D:] [path] directory name
Example: C:\>RD \ET3\TEMP
Delete the TEMP subdirectory under the ET3 directory under the root directory, but there must be no other files in the TEMP subdirectory.
PATH Set, display DOS search path for executable files
Format: PATH [D:] path [[;[D:] path]]
Example: C:\>PATH C:\; C:\DOS; C:\ET3
Set the search path for executable files to C:\, C:\DOS and C:\ET3
TREE List directory tree structure
Format: TREE
Example: C:\>TREE
Display the directory tree structure under the C root directory.
Chapter 5
MEM Display current memory usage external command
MEM Display current memory usage
Format: MEM [/C]‧‧‧
Example: C:\>MEM /C
|
|
2006-5-17 11:06 |
|
|
xjmxjm1234
中级用户
   论坛第一菜鸟
积分 361
发帖 166
注册 2006-4-15
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
有简体的吗?,有的看不懂!
Is there a simplified version? Some of them are hard to understand!
|

Diskette Operating System |
|
2006-5-17 18:56 |
|
|
musou
新手上路

积分 2
发帖 1
注册 2006-5-22
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
为何不作一个简繁转换的插件
Why not make a traditional and simplified Chinese conversion plugin
|
|
2006-5-22 12:43 |
|
|
bob
初级用户
 
积分 21
发帖 7
注册 2006-5-22
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
楼上滴,如果你的浏览器没有转换功能,就保存到word文件中,再用繁简转换就可以了!
Upstairs, if your browser doesn't have a conversion function, save it to a Word file and then use the traditional-simplified conversion.
|
|
2006-5-22 13:39 |
|
|
Sctopaz
新手上路

积分 10
发帖 3
注册 2006-2-26
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
最基本的繁体了,就象旧版本DOS一样,想认不出都不行了。
内容够基本,似偶此等菜级水平,都有用得很。
The most basic traditional Chinese, just like the old version of DOS, it's hard not to recognize. The content is basic enough, like for my such beginner level, it's very useful.
|
|
2006-5-22 17:55 |
|
|
gwlok
中级用户
   DOS爱好者
积分 213
发帖 99
注册 2006-3-26
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
这些命令基本都知道,就是有些外部命令现在用不上了
These commands are basically known, it's just that some external commands are not needed now
|
|
2006-6-8 22:58 |
|
|
jimolr
初级用户
 
积分 48
发帖 18
注册 2006-6-10
状态 离线
|
|
2006-6-10 14:51 |
|
|
jweng
新手上路

积分 12
发帖 6
注册 2006-3-15
状态 离线
|
|
2006-6-11 17:49 |
|