Delete folders which give error message “Cannot delete folder from … ‘Item not found'”


Earlier in my post build script I entered the following:

robocopy "$(ProjectDir)images" "C:\inetpub\Museo\build\images /MIR /NP /XD .svn >nul

The more observant will notice that I failed to close the destination parameter with the double quote required. What ended up happening was that in the folder, there were now two “images” folder. In order to delete the offending folder I followed the answer posted by Noodle on the following forum entry http://forums.techarena.in/vista-help/894773.htm

For convenience sake, here’s what should be done:

C:\Users\Noodle\Downloads>rename PLUMB-~1 Noodle
C:\Users\Noodle\Downloads>del Noodle
C:\Users\Noodle\Downloads\Noodle\*, Are you sure (Y/N)? y
C:\Users\Noodle\Downloads>
Advertisements
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3 other followers

July 2010
M T W T F S S
« Apr   Aug »
 1234
567891011
12131415161718
19202122232425
262728293031  
%d bloggers like this: