DOS Commands for File and Directory Management
Learn essential DOS commands like Dir, Cd, Make directory, Rename, Delete directory, CLS, Color, Type, Copy, Del, Attrib to efficiently manage files and directories on a drive.
DOS Commands for File and Directory Management
E N D
Presentation Transcript
Dos commands • Dir(directory) • Dir = see the contents of the directory and files on a drive Example = D: dir enter • Dir /a-d = to display the files in the drive • Dir /ad = to display the folders on a drive • Cd (call dir) = to call or open a folder
Make, rename and delete directory / folder • Make directory (md or mkdir) • mdteladan (its mean make folder with the name teladan) • Or • mkdirteladan Md = sort command Mkdir = long command • Rename directory (ren) • renteladanjayamahe (It means we change the name of the folder teladan be jayamahe) • Delete emty directory (rd) • rd jayamahe
Start • Cls (clear screen) • Color fd • Color 100 • Cd kelas_konslet\konslet1 • Type konslet.txt • Copy namamu.txt namaku.txt • Del namamu.txt • Copy konslet.txt D:\kelas_konslet