1) dir
It stands for Disk Information Research. this command is use to display all files and folder from current drive except hidden and sub item.
2) dir /p
This Command is use to display all file or directory from current drive in page wise.
3) dir /w
This Command is use to display all file or directory from current drive width wise.
4) dir /b
This Command is use to display all file or directory from current drive in Bare format.
5) dir /c
This Command is use to display thousand separate in file size.
6) dir /d
It is use to display same as dir /w but files are list shorted by column.
7) dir /n
This Command is use to display new long list format where file name are far right.
8) dir /-n
This command use to display file and directory name in first column. Which follow 8 dot 3 format.
9) dir /x
This command display such file name in different column /new column those are not followed 8 dot 3 format.
10) dir /q
This command is use to display owner of the file.
11) dir /s
This command is use to display all directory and its sub item from current date.
- ctrl + c (Break or Stop)
- ctrl + s (Pause)
12) dir /on
This command is use to display all file on directory from current wise according to the order of name.
13) dir /o-n
This command is use to display all file on directory from descending order (z to a)
14) dir /os
This command is use to display all file on directory from small size to big size.
15) dir /o-s
This command is use to display all file on directory from big size to small size.
16) dir /od
This command is use to display all file on directory from old date to new date.
17) dir /o-d
This command is use to display all file on directory from current date to old date.
18) dir /og
This command is use to display all directory first then file.
19) dir /o-g
This command is use to display all file first then directory.
20) dir /ah
This command is use to display all hidden permitted item from current drive.
21) dir /ar
This command is to display folder all attrib read only permitted file from current drive.
22) dir /as
This command is use to display system file from current drive.
23) dir /oe
This command is use to display all file or directory from current drive according to the order of extension name (a to z).
24) dir /o-e
This command is use to display all file or directory from current drive according to the order of extension name (z to a).
25) dir /ad
This command is use to display only directory from current drive.
26) dir /a-d
This command is use to display only file from current drive.
27) copy con (file name)
This command is use to make a new file. But file name must follow file naming rule.
- to save file press (F6) or (ctrl+z)
- to check the file type dir
28) type (file name)
This command is use to display the contain of an existing file.
29) ren (old name) (new name)
This command is use to Rename the existing file.
30) type (file name) prn
This command is use to print the content of file.
31) type con>(file name)
This command is use to modify the existing file.
32) type con>>(file name)
This command is also for modifying the existing file but you can add new data at end of the existing file as a result both old and new data will be store.
33) del (file name)
This command is use to delete the existing file.
34) del /p (file name)
This command is use to delete the existing file but it display the prompt before delete.
35) erase (file name)
This command is use to delete the existing file.
36) sort (file name)
This command is use to sort the contain of file in ascending order.
37) soft /r (file name)
This command is use to sort the contain of file in descending order.
38) copy (old file path) (new file path)
This command is use to copy only file.
39) xcopy (sp) (tp)/e
This command is use to copy entire item from source to target directory will be copied.
40) move (old file path) (new file path)
This command is use to move a file.
41) edit (file name)
This command is use to create or modify the existing file.
42) cd (child directory name)
This command is use to change from current directory to any sub directory or child directory.
43) cd..
This command is use to go to parent directory from any child.
44) cd\
This command is use to go to root directory.
45) tree (directory name)
This command is use to display graphical structure of folder.
46) tree /f (directory name)
This command is use to display graphical structure of both file or directory.
47) rd (directory name)
This command is use to delete a directory.
48) chkdsk d:
This command is use to check the file system. If logical error arise in disk it will rectified the error.
49) format d:
This command is use to format any disk or drive.
50) format d:/q
This command is use to format any disk or drive in quick format method.
51) attrib +h (file name)
This command is use to give hidden permission to any file or folder.
52) attrib -h (file name)
This command is use to to unhide the hidden file and folder.
53) attrib +r (file name)
This command is use to to set the read only permission so every one can read the contain of file but not able to modify.
54) attrib -r (file name)
This command is use to remove Read only Permission.
55) more > (file name)
This command is use to display a contain of file in page wise. If the monitor is full from the file this command is use to show in page wise.
56) color (number)
This command is use to change the background as well as 4 ground colour. First you have to type color /? to check the colour numbers.
0 Comments