golang notes of DOS articles

Dos common commands

  1.   Basic introduction of dos
  •        Dos: Disk Operating System Disk Operating System, briefly about the directory under Windows 

     

         The basic principle of operation of 2. dos

   

 Directory operations:

   md : Add Directory

 

 

 

Creating multiple directories

 

 

 

 Create a child directory in the parent directory

 

 

 

 

 

 

 

 

   RD : Delete empty directory

 

 

 

 

 

   RD / q / S  : Delete the following directories and subdirectories and files, without asking

 

 

 

   RD / S : Delete the following directories and subdirectories and files with inquiry

 

 

   cd : Change directory

Absolute path : positioning from the top of the current disc, such as D: E: F: find the corresponding directory, such as e: \ test200

 

 

 

 

 

 

Relative path : positioning from the current position, the corresponding directory to find: ADC100, if the absolute path: e: \ test200 \ adc100

 

 

 

 

  CD .. : Switch to the parent directory

 

 

 

  cd \ : back to the root directory (the top directory)

 

 

 

 

File operations:

New or additional content to file

Such as:

 

 

 

 Copy or move files

 copy:

         

 

 

 

 

 

 

 mobile:

 

 Delete Files:

Specification:

 

all:

 

 Clear the screen:

 

 drop out:

 

 

Guess you like

Origin www.cnblogs.com/zeroLJ/p/11583829.html