-
[Windows] 윈도우 파일 및 폴더 삭제 명령어개발 2019. 7. 26. 19:43반응형
reference: https://www.ghacks.net/2017/07/18/how-to-delete-large-folders-in-windows-super-fast/
How to delete large folders in Windows super fast - gHacks Tech News
Find out how to delete huge folders with thousands of files and folders super fast on any version of the Microsoft Windows operating system.
www.ghacks.net
DEL /F/Q/S *.* > NUL
- /F -- forces the deletion of read-only files.
- /Q -- enables quiet mode. You are not ask if it is ok to delete files (if you don't use this, you are asked for any file in the folder).
- /S -- runs the command on all files in any folder under the selected structure.
- *.* -- delete all files.
- > NUL -- disables console output. This improves the process further, shaving off about one quarter of the processing time off of the console command.
RMDIR /Q/S foldername
- /Q -- Quiet mode, won't prompt for confirmation to delete folders.
- /S -- Run the operation on all folders of the selected path.
- foldername -- The absolute path or relative folder name, e.g. o:/backup/test1 or test1
반응형'개발' 카테고리의 다른 글
Gradle 사용시 커스텀 라이브러리 업데이트가 잘 안될경우 (0) 2019.07.26 [Java] Creating a Fat Jar or Executable jar in Gradle (0) 2019.07.26 [Java] System Properties (0) 2019.07.26 [Java] How to detect OS in Java (0) 2019.07.22 [Java] gradle source, java doc 같이 배포하기 (0) 2019.07.22