Adrian, You may have to leave the directory structure in place for a few hours. but you should be able to set the NTFS permissions to Administrator only so know one else can add more files. Also turn off the Anonymous access to the FTP site in question. Then try to do the rd /s command make sure you do this on the last directory that has a valid name. I have never had the MS POSIX work right. as some of the directories names also have a space at the beginning and end them.
David Rolling - President www.Infovue.net On the Plains of Hesitation, Bleach the Bones of Countless Millions Who, at the Dawn of Victory, Sat Down to Wait and Waiting Died ========================================================= -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Adrian Cooper Sent: Friday, March 07, 2003 2:46 PM To: NT 2000 Discussions Subject: Re: rm.exe? ----- Original Message ----- From: "David Rolling" <[EMAIL PROTECTED]> Sent: Friday, March 07, 2003 7:22 PM > Adrian, I've had this happen a couple of times. First off you will need to > shut down IIS. Then use explorer to dig down to the directories with the > files and delete them. then delete any directory that you can. then use the > rd /s command on the first good directory name. then restart IIS. Thanks very much for the advice David. The directories seem to go many levels deep, but the main problem seems to be that nothing seems to want to delete even the directories with normal looking names. The root of these directories either have no visible name or reserved names like "lpt2" "com1" etc.. My inclination is to delete the entire FTP root if anyone knows of a utility that can do this. Microsoft online support says: "If the file was created on a file allocation table (FAT) partition, you may be able to delete it under MS-DOS by using standard command line utilities (such as DEL) with wildcard(s). For example: a.. DEL PR?.* -or- b.. DEL LPT?.* These commands do not work on an NTFS file system partition as NTFS supports the POSIX subsystem and filenames such as PRN are valid under this subsystem. However, the operating system assumes the program that created them can also delete them; therefore, you can use commands native to the POSIX subsystem. You can delete (unlink) these files using a simple, native POSIX program." My file system is NTFS, but RM rejects the file names as "not found" so first I need to get the full file names. Thanks again. Regards, Adrian. ------ You are subscribed as [EMAIL PROTECTED] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to %%email.unsub%% --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 ------ You are subscribed as [EMAIL PROTECTED] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
