[THIN] OT - Assistance with script to delete folders

  • From: Angela Smith <angela_smith9@xxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 28 Sep 2010 17:11:41 +1000

Hi



Im trying to create a script that runs
on server startup that deletes all files/folders in a specific folder but
without deleting the top level folder



C:\TEST

        FOLDER1

        FOLDER2

        etc



I tried using rmdir c:\Test\ /s /q but
this deletes the test folder.  I need to delete all subfolders except
c:\test.  Any ideas on how I can do this??
Citrix Server is running on Windows 2003


Thanks                                    

Other related posts:

  • » [THIN] OT - Assistance with script to delete folders - Angela Smith