Skip to content

Commit

Permalink
replaced deltree withn rd
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed Jun 18, 2024
1 parent 19c0907 commit 8904e3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ private static void deleteUsingOSCommand(File file) {
String command = "";
if (SystemUtil.isWindows()) {
if (file.isDirectory())
command = "cmd /C deltree /Y \"" + file.getCanonicalPath() + "\"";
command = "cmd /C rd /S /Q \"" + file.getCanonicalPath() + "\"";
else
command = "cmd /C del /F /Q \"" + file.getCanonicalPath() + "\"";
} else {
Expand Down

0 comments on commit 8904e3e

Please sign in to comment.