Common Command Prompt

Common Command Prompt

​DIR [directory or file name] [/S][/W][/P][/A] list directory parameters**: /s** find subdirectory**/w** only display file name / ppage **/a** show hidden files DIR format.exe /s find the format.exe file on this disk and report the location
  MD (MKDIR) [directory name] create directory MKDIR HELLOWORLD create HELLOWORLD directory
  CD (CHDIR) [directory name] ] PS: You can use relative directory or absolute directory to enter the directory CD AA to enter the AA directory under the current folder, cd ... to enter the previous folder cd \ to return to the root directory; cd c:\windows to enter the c:\windows folder
  RD ( RMDIR) [directory name] Delete directory RD HELLOWORLD Delete directory HELLOWORLD
3. File operation
  Delete directory and its files: rmdir [directory or file name] [/S][/W][/P][/A]. For example, rmdir c:\qqdownload/s deletes the qqdownload directory of drive C.
  del [directory name or file name] [/f][/s][/q] delete parameter: /f delete read-only file /s delete the directory and all its contents /q do not confirm before deleting del c:
  \ del /s /q automatically deletes the del directory on the c drive.
  copy [source file or directory] [target directory] copy file copy d:\pwin98*.* c:\presetup Copy all files of pwin98 in drive d to presetup in drive c.
  Clear screen: cls

Guess you like

Origin blog.csdn.net/weixin_54882070/article/details/129311313