Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

cmd delete folder

# NOTE: for cmd/batch/DOS only (not bash/Linux)

# EXAMPLE:
rmdir /s /q "C:UsersTomDickHarryDeletableStuff"

# SYNTAX
# rmdir /s /q "<your-folder-to-delete>"
Comment

how to remove directory in cmd

# for removing empty directory
$ rmdir myDirectory

# to remove a directory that contains files and subdirectory
$ rm -r myDirectory
rm -rf /config/filegroups/*/

Comment

delete directory from cmd

rmdir /q/s FOLDER-NAME
Comment

how to delete dir in windows cmd

to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile
Comment

how to delete a folder using cmd

cd <-- Into the main folder -- > rmdir "The folder you want to delete"
Comment

PREVIOUS NEXT
Code Example
Shell :: git aliases 
Shell :: git delete remote branch 
Shell :: sh or bash validate if file no exist 
Shell :: wsl2 vs virtualbox performance 
Shell :: gh clone 
Shell :: grep exclude files 
Shell :: inkscape svg to pdflatex 
Shell :: tomcat shutdown script 
Shell :: isntall skimage 
Shell :: bash command to clean up log files in /var/log 
Shell :: how to overwrite file linux cli 
Shell :: cp all files except one 
Shell :: kde increase refresh rate 
Shell :: generate github access token 
Shell :: how to upgrade npm in ubuntu 
Shell :: how to open teminal pycharm 
Shell :: rename a file in linux 
Shell :: git commit specific files 
Shell :: appimage 
Shell :: how to erase folder that match characters in linux 
Shell :: what version of linux am i running 
Shell :: check gcp disk space usage 
Shell :: right click touchpad ubuntu budgie 
Shell :: how to remove a software from linux 
Shell :: cmd remove directory not empty windows 
Shell :: ignore file git 
Shell :: change mac address linux 
Shell :: How to solve bad signature... index file corrupt 
Shell :: merge master to dev branch 
Shell :: ubuntu install docker 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =