- Go forward :
cd path\to\folder
- Go backward :
cd ../..
- Show lists of files and directories :
dir
- Show lists of files and directories with hidden files also :
dir /a
- Clearing screen :
cls
- Show specific type of files:
dir *.png | dir *.jpg
- Help for a specific command:
ipconfig /?
|cls /?
- Create a new directory :
mkdir myDir
|mkdir path\to
- Remove or delete directories: if your directory is empty
rmdir myDir
elsermdir /S myDir
- Changing drivers :
C:
|D:
- Show path variables:
path
- Show available drive names:
wmic logicaldisk get name
- Change color:
color 0B | color 90
or back to default just usecolor
- Creating a file :
echo somecontent > file.txt
- Deleting file:
del filename.ext
- Reading contents of a file:
type file.ext
\ - Override to a file :
echo newcontent > samefile.ext
- Appending to a file :
echo appendingcontent >> samefile.ext
- Copying files:
copy test.txt mydir
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)