HSGXTSXV
HSGXTSXV
HSGXTSXV
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Disk
File
File Name
Directory
Path
Command
Prompt
File : It is the location or place where data are saved by name. Documents,
File Name : It is the name of the data group; by which name we can identify
it. A file name is devided into three part. i.e. Primary name, Separator,
Extention name
Ram . txt
and then inside the command dir the ebd dir is present and inside the
N.B. : the directory are separated by the back slash "\" symbol.
Prompt : It is the symbol which comes at the first of DOS Operating system.
C:\WINDOWS>
understand.
the computer starts it autometically loaded into the memory. It will must
execute immediately. these commands are included with the command.com file.
I N T E R N A L C O M M A N D
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DIR
=====================
/V Verbose mode.
For example :
Here star means all files; files started with any name but extention name
should be .txt
Like :
saroj.txt
sunita.txt
sumeet.txt
sriya.txt
saroj.txt
sunita.txt
sumeet.txt
sriya.txt
sita.mp3
surya.bmp
etc...
Question Mark (?)
Used to find single letter. Find those files which name are three letters
COPY CON
^^^^^^^^^^^^^^^^^
After creating a file; we need to save the file. To save a file press f6 or
CTRL+Z .
TYPE
^^^^^^^^^
TYPE [drive:][path]filename
REN
^^^^^^^^
Renames a file/directory or files/directories.
Note that you cannot specify a new drive or path for your destination.
DEL
^^^^^^^^^^^
MD
^^^^^^^^^
Example : MD SUBASH
CD
^^^^^^^
C:\>cd subash
C:\SUBASH>
It means you are now in subash directory.
CD..
^^^^^^^^
CD\
^^^^^^^
RD
^^^^^^^
To remove a directory. Note : The directory must be empty else it will not
PROMPT
^^^^^^^^
PROMPT [text]
Prompt can be made up of normal characters and the following special codes:
$Q = (equal sign)
$$ $ (dollar sign)
$T Current time
$D Current date
$B | (pipe)
Type PROMPT without parameters to reset the prompt to the default setting.
P A T H
======================
Path command is to view or set a path for a system executable file. i.e. ".Exe" &
".Com" Files. It's Default path is "C:\WINDOWS;C:\WINDOWS\COMMAND"
Because all the ms dos command files and windows executable files are present in
the path.
If you will change the path of system then the system may not work the external
commands.
C:\> path
C:\> Path=C:\rama
Syntex :
For Example :
C:\>
E X T E R N A L - C O M M A N D
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CHKDSK : To check the disk. it show us the free space, used space, no. of files, No
of folders, No of hidden files etc...
XCOPY/S : To copy the all files of the same directory as well as it sub-
directories.
MEM : To see the used memory, free memory, convensional memory. .. . etc...
C:\> mem
Upper 0K 0K 0K
FC : Compares two files or sets of files and displays the differences between them.
/A Displays only first and last lines for each set of differences.
MOVE : To move a directory or file from the current location to the target
location.
It means it will move the rama.txt file to the student directory. At the end
of the move it will show the confirmation (OK or the Problem)
SYS : It is used to create a bootable disk. It will copy all the system files i.e.
io.sys, msdos.sys, command.com, drvspace.bin to the target location. the
bootable disk will help you when the computer will unable to start; enter the
bootable disk it will boot and give you the command prompt "A:\>"
Example : Sys A:
It will copy these system files from the computer to the floppy.
DELTREE : It is used to the delete the whole directory as well as all the sub-
directory. Use the command only to your own directory else it may cause harm
to the computer.
DOSKEY
MACRO Specifies macro to a command for which we can access the command
It will print all the list files and directory which shows in the screen print
EDIT : It is a free text editor; where we can change the text, modified the
text, save, Print & Reopen the saved file.Also can change the colors, search
SORT : To Sorting the contains of the file. It will put all the text in an
ascending order like dictonary.for which we can able to find the specified
# Read-Only +R -R
# Archieve +A -A
# System +S -S
# Hidden +H -H
Now the ram.txt file is hide; we can't see it with dir command
Formats a disk for create new sectors and tracks. When we buy a new
floppy we shold format the floppy to create new track and sector.Don't
Use this command in Hard Disk.It may Delete all data permanently from
the computer and may create bad sector or disk may unusable.
Syntex : Command/?
asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj
asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj
asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj asdf ;lkj