I need to clean out the documents and settings folder on a bunch of winXP SP2 boxes. I found SS and it seems to work way faster than the windows explorer but I noticed that SS does not like long (really long) filenames. I keep seeing the message "with full path is too long." error on some folders. The filename's look like browser cache files and all have a .htm extension thus far.
Is there a workaround for this? I don't care if it can not delete this one file really, if it would just move on and not prompt me that would suffice.
if not, does anyone know of a tool that can wipe a directory ideally from a UNC path (ie:\\machine\c$\)?
TIA!,
-d
Deleting a large amount of files..
I'd try
or (even more likely to work)
Code: Select all
rd /s \\machine\c$\path
Code: Select all
rd /s \\?\UNC\machine\c$\path
Already tried it, command does not allow wildcards. I don't want to remove the administrator profile as well just 1000+ student profiles that are eating up all the HD space on 30+ computers.SvA wrote:I'd tryor (even more likely to work)Code: Select all
rd /s \\machine\c$\path
Code: Select all
rd /s \\?\UNC\machine\c$\path
-d
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Deleting a large amount of files..
We have patched this in current version, so please test new version which will be released on end of April 2006. You should be able to delete all files whose path with dos-name length is under 260 characters. I believe that your files satisfy this condition.dsmythe wrote:I need to clean out the documents and settings folder on a bunch of winXP SP2 boxes. I found SS and it seems to work way faster than the windows explorer but I noticed that SS does not like long (really long) filenames. I keep seeing the message "with full path is too long." error on some folders. The filename's look like browser cache files and all have a .htm extension thus far.
Re: Deleting a large amount of files..
I will check it out, thank you.Petr Solin wrote: We have patched this in current version, so please test new version which will be released on end of April 2006. You should be able to delete all files whose path with dos-name length is under 260 characters. I believe that your files satisfy this condition.
I did find an answer to my question MSFT makes a tool called delprof that is specificly designed to remove inactive user profiles. So when we roll out our next image I can set it up to run monthly.
Thanks again!
-d