How do i tell the script to put that in "dirlist.txt"
I don´t now what folders are in "c:\test" , it could be anything..
Why isn´t there a batch command to just empty a folder?
why can´t this script remove folders that has a "space" in it like this
c:\test\New folder
?
But can remove this
c:\test\Newfolder
?
If i can get this running then all my problems would be solved.
dir /b /ad c:\test > dirlist.txt
for /f %%i in (dirlist.txt) do rd /s /q c:\test\%%i
del...
Hi i found this tread trying to find something to clear my desktop from files and folders.
I have been trying different solutions but none of them has worked as i wanted.
@echo off
:foldercheck1
if not exist C:\Death\ goto make1
:cleanup
xcopy "%USERPROFILE%"\Desktop\*.* /f/e/y c:\Death
rmdir...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.