Showing posts with label MS-Dos. Show all posts
Showing posts with label MS-Dos. Show all posts

Sunday, December 28, 2014

All External Command of MS-Dos.

External command
A MS-DOS command that is not included in command.com. External commands are commonly external either because they require large requirements or are not commonly used commands. Below are examples of MS-DOS and Windows command line external commands currently listed in the Computer Hope database.

Many of the external commands are located in the Windows\system32 or Winnt\system32 directories. If you need to locate the external file in order to delete it, rename it or replace it, you can also find the file through MS-DOS
 
Some external DOS command
CHKDSK:-
This command is used to check for error on disk drive.
Syntax: C:\>chkdsk


Format:-
This command is used to format for disk drive
Syntax: C:\>format drive name
Eg, C:\>forma d:/q


Attrib:-
This command is used to change the attributes of file and folder.
-To make file or folder hidden
C:\>Attrib <file or folder name> +h
Eg, C:\>attrib hari.doc +h
-To show hidden file and folder
C:\>attrib <file or folder name> -h
Eg, attrib hari.doc –h
Hole file hidden
Eg, c:\>attrib +r +a +s +h
Hole hidden file show
Eg, C:\>attrib –r –a –s –h

Edit:-
This command is used to edit for file.
Syntax: C:\>edit file name
Eg, C:\>edit ram.doc
Shutdown:-
This command is used to shutdown, restart, logoff the computer.
Shutdown
C:\>shutdown –s –t 60 –c “comment”
Restart
C:\>shutdown –r –t -60
Logoff
C:\>shutdown –L
Net user:-
This command is used to create a new user account.
Syntax: C:\>net user <user name> <password> /add
Eg, C:\>net user hari 12345 /add
+

All Internal Commands of Ms-Dos

 A command that is stored in the system memory and loaded from the command.com. Below are examples of internal commands in MS-DOS and the Windows command line currently listed in the Computer Hope database.

Some internal DOS command

MD:-
Command is used to create a new directory/folder.
  Syntax: c:\>md folder name
Eg,  C:\>md ram

CD:-
Is used to Changes directories.
Syntax:  C:\>cd folder name
Eg, C:\>cd ram

RD:-
Is used to Removes an empty directory.
Syntax: C:\>rd folder name
Eg,  C:\rd ram
REN:-
Rename a file or directory.
Syntax: C:\>ren folder/file name
Eg, C:\>ren ram.doc hari.do
Date:-
This command is used to display current system date. we can also change new date.
Syntax: C:\> date
To change the date type new date.
Time:-
This command is used to display current system time.
Syntax: C:\>time
To change time type new time
Dir:-
This command is used to display files or folder
Syntax: c:\>dir
Copy con:-
This command is used to create new program file(Extension file name)
Some extension file name
Microsoft word = name.doc
Ms power point =    “    .ppt
Photo file =            “     .jpeg, jpg
Sound file =       “     .mps
Photoshop =           “     .psd      etc.

Syntax: C:\>copy con file name
Eg, C:\>copy con ram.doc
Del:-
This command is used to delete files.
Syntax: C:\>del file name
Eg, C:\>del ram.doc
Cls:-
  This command is used to clear for screen.
Eg, C:\>cls

Copy:-
This command is used to copy file.
  Syntax:C:\>copy location the drive
Eg, C:\>copy d:ram

Type:-
This command is used to open file.
Syntax: C:\>type file name
Eg, C:\>type ram.doc
Exit:-
This command is used to exit for dos mode.
Eg, C:\>exit



+