Thanks for the suggestion. I wound up writing a batch file attrib -r -s -h "Application Data" ren "Application Data" A cd A e:\A.bat
This goes through all the Application Data folders renaming them to A. I control-C out of it and am able to delete. Curt > -----Original Message----- > From: Ben Scott [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 16, 2008 6:49 AM > To: NT System Admin Issues > Subject: Re: Directory pruner needed > > On Wed, Apr 16, 2008 at 6:02 AM, Jim Dandy <[EMAIL PROTECTED]> > wrote: > > ... deleting with normal windows commands fails to delete them > > because the path name is so long. > > Try renaming the higher level directories in order to reduce the > overall path length. > > In other words, rename "Documents and Settings" to "A", then "John > Smith" (user) to "B", then "Application Data" to "C", and then the app > data under that to "D", and so on. Eventually you get to > C:\A\B\C\D\E\F\G\H\I\J\K\... and can then delete them. > > SUBST may also work, as someone else suggested. > > -- Ben > > ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ > ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~ ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~
