I have a folder full of invalid files. The properties says the folder is 1.28TB, but my flash drive is only 8GB. I can't delete the files so I tried a batch file, but it didn't work. I'm not sure if my batch was wrong or what.
I tried two files I found on this site:
cd "I:\Java\Workspace\GridWorld1\.metadata\.plugins\org.eclipse.core.resources\.projects\.org.eclipse.jdt.core.external.folders"
del *.
pause
and
set folder="C:\test"
cd /d I:\Java\Workspace\GridWorld1\.metadata\.plugins\org.eclipse.core.resources\.projects\.org.eclipse.jdt.core.external.folders
for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
pause
The second batch ran tons of lines and the final line was:
I:\Java\Workspace\GridWorld1\.metadata\.plugins\org.eclipse.core.r
ects\.org.eclipse.jdt.core.external.folders>(rmdir "er.Bundl.eLo"
"er.Bundl.eLo" /s/q )
The system cannot find the file specified.
The filename, directory name, or volume label syntax is incorrect.
I have almost no experience with batch files, but I have no idea how to delete these files. Here is link to a picture of the invalid files. Invalid File Picture