Saturday, December 3, 2011

harini infosys - Dos Commands


Operating Systems - MS-DOS - Commands

Command
Description
dir
lists the contents of a folder
cd
changes folder
cd ..
parent folder
md or mkdir
creates a new folder
deltree
deletes a folder and all sub-folders
copy, xcopy
copies a file
move
moves a file
del
deletes a file
type
displays the contents of a file
type |more
displays file contents page by page, pausing after each page
help
help for the given command
print
prints the given file
attrib (-/+r, -/+a, -/+s, -/+h)
changes a file's attributes (- deactivates, + activates, r: read-only, a: archive, s: system, h: hidden file)
format
formats the given drive
label
assigns a drive name to a drive
ver
gives the version number

No comments:

Post a Comment