Removing files, SHFormatDrive
Posted on 2002-03-26
Hi you all,
Does anyone know how to perfom SHFormatDrive UNATTENDED?
My problem is, that my public FTP folder is used as public trash. Automately removing unwanted files (some are wanted and I know which) fails, because (not only) 'kill' is unable to remove hidden files, 'RmDir' seemed to be useless to remove subDirs if their names are only blanc spaces etc. etc.
A workaround may be to format the drive on which my FTP folder is located on (service of FTP publishing is stopped first). But I do not aggree to sit besides the server to press the 'OK' butten if it's needed to aggree with formatting...
Any hints are welcomed!