| |
|

File:
File is a collection of information o
message. We can give file name less than or equal to 8 characters.
We can't create more files by same file name in same place. We
can't include the space in between file name in DOS mode only.
Directory:
Directory is
collection of files. We can't write inside the directory by same
name in same place. We can't include space in between directory
name in DOS mode only.
C:\ram\hari>
In the example:
C: is the root dir, ram is the main dir, hari is the sub dir

Internal command
ver: this is used to check the version of the
window.
Prompt: This command is used to change the prompt
ren: This is used to rename the file and directory
Cd: This command is used to change the directory status.
vol: This is a volume name.
Copycon: This is used to create a new file.
cd..: this command is used to go to one directory back
Date: This is used to display the date
Time: This command is used to display the time.
Type: This is used to display the file content.
cd\: this command is used to go back to root directory.
Del: This is used to delete the file.
Dir: This is used to list the file and dir.
External command:
label:
Diskcopy:
more:
Move:
Format:
deltree:
attrib:
This command is used to attributes files and
directories. It helps to make the file and directories read only
and hidden. It is an external command.
+(to set attributes)
-(to clear attributes)
# To make read only o protect file:
C:\>Create a file (gopal)
C:\>dir<--[displays gopal in the list]
C:\>attrib +r filename (gopal)<--
For check
C:\>dir<--[displays gopal in the list]
C:\>del gopal<--
C:\>dir<--[displays gopal in the file list i.e. gopal file is not
deleted]
C:\>dir/ar<--[displays read only file in the list i.e. not
deleted]
# To make normal or unprotect file
C:\>attrib -r filename (gopal)<--
# To hide or unhide file or directory
C:\>attrib +h gopal<--[hides]
C:\>attrib -h gopal<--[unhide]
 |
|
|