How to delete large file path/file name files in Windows. Which is slimier to Linux rm -rf . ?
To delete The file name is too long. errors files, we've to go for simple steps using default command of Windows robocopy
and rmdir
.
mkdir deleteLongFilesDir
under C:
or D:
driveD:\Development\Liferay\themes
directory contains the files which are not able to delete simply.robocopy D:\deleteLongFilesDir D:\Development\Liferay\themes /purge
, this command will print some logs and copy you all the files and sub directory of D:\Development\Liferay\themes
into deleteLongFilesDir
folder virtually, but when you open that directory... hurreeee...It's Empty ???rmdir deleteLongFilesDir
from command line.D:\Development\Liferay\themes
files and folder.