Recent content by blippo

  1. B

    Batch Scripting - Delete all Directories within a Directory

    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?
  2. B

    Batch Scripting - Delete all Directories within a Directory

    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...
  3. B

    Batch Scripting - Delete all Directories within a Directory

    That removes the Desktop folder.. I try to avoid that.. Ill take a look at powershell.. Thank you
  4. B

    Batch Scripting - Delete all Directories within a Directory

    Yes but that doesn´t removes folders..
  5. B

    Batch Scripting - Delete all Directories within a Directory

    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...
Back