RSS Forums RSS
Please support our Existing Scripts advertiser: Web Code Converter

recursive delete using a batch file on windows-XP

Join Date: Mar 2007
Posts: 1
Reputation: dgarcia182 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dgarcia182 dgarcia182 is offline Offline
Newbie Poster

Re: recursive delete using a batch file on windows-XP

  #6  
Mar 27th, 2007
Thanks for the script, it works great! Some of my directories would not delete due to having spaces in the directory names, for instance C:\out\IQSv3\Portal\Web References\Service\.svn. Adding quotes around the %%G fixed this problem.

FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:27 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC