คำสั่ง Dos
Time , date
md , mkdir > Creates a directory
del , erase > delete file
copy > Copies one or more files to another location.
ren , rename > Renames a file or files.
สร้าง directory
สร้างไว้ drive c:
md run1
md run2
md run3
สร้างไว้ drive d:
md runa
md runb
md runc
ต่อไป คำสั่ง time ตั้งเวลา
ต่อไป move file จาก c:\test1 eula1028.rtf ไปไว้ drive c:\run1
move file จาก c:\test1 eula1031.rtf ไปไว้ drive d:\runa
ตอนแรกต้องเข้าไปที่ c:\test1 เสร็จแล้วใช้คำสั่ง
move eula1028.rtf c:\run1
อย่าพิมพ์ผิดแม้แต่ตัวเดียว ไม่งั้นไฟล์หาย
ต่อไป format แบบ ธรรมดา กับแบบ system boot
สมมุติจะ format drive d
ใช้คำสั่ง format d:
ส่วนแบบ system boot ลืม + ไม่ได้ทำนานแล้ว
สุดท้าย คำสั่ง ลบ directory
ให้ลบ run1 กับ runa
แต่ไม่สามารถลบได้เพราะใน path นั้นมี file อยู่
เราต้องเข้าไป del แล้วค่อยออกมา rd
c:
cd run1
del eula1028.rtf
cd\
rd run1