Docsity

DOS Terminal Commands: Navigating Directories, Creating and Managing Files, Exercises of Computer Applications

Toggle sidebar
bg1
Disk Operating System (DOS)
Terminal Commands
Log to Dos Terminal :
1. Start -> Command Prompt
2. Run (Win+R) ->cmd
Check the Directory
chdir
Switch to a directory
o cd <directory path>
o cd.. <to immediate top directory>
o cd\ (root directory)
Read the document
type <FileName>
Create Document Folder
md <DocumentName>
Create TEXT (.txt) document
notepad <FileName>
Rename the document
ren <FileName>
View the Document
dir
View specific file type
dir *.<fileExtension>
copy file
copy filename <DestinationFolder>
Delete File
Del fileName
Delete Directories
RD <DirectoryName>
Date
date or SetDate
Time
time or setTime
copy directories
xcopy <DirectoryName> <NewDirectoryName>

Partial preview of the text

Download DOS Terminal Commands: Navigating Directories, Creating and Managing Files and more Exercises Computer Applications in PDF only on Docsity!

Disk Operating System (DOS)

Terminal Commands

 Log to Dos Terminal :

  1. Start -> Command Prompt
  2. Run (Win+R) ->cmd  Check the Directory chdir  Switch to a directory o cd o cd.. o cd\ (root directory)  Read the document type  Create Document Folder md  Create TEXT (.txt) document notepad  Rename the document ren  View the Document dir  View specific file type dir *.  copy file copy filename  Delete File Del fileName  Delete Directories RD  Date date or SetDate  Time time or setTime  copy directories xcopy