MightyR1
(MM club member)
2004-02-24 01:32 AM
RD /c /h /f /s

Guys,

not sure if it has been asked before, but I'd like RD to support the same switches as the del command.

/s subdirs
/f also readonly
/h also hidden and system
/c continue on errors


NTDOCAdministrator
(KiX Master)
2004-02-24 02:47 AM
Re: RD /c /h /f /s

Not that Ruud couldn't work on it, but shelling out and running RD /S /Q is very fast and unseen by the user anyways.

Think other items are consuming most of his time for updates.


LonkeroAdministrator
(KiX Master Guru)
2004-02-24 07:19 AM
Re: RD /c /h /f /s

I would like to see del support folders instead.
like the unix look-alike:
rm -f -r *
(remove --force --recursive all)

which I use almost everyday

there is no use with the recusivity if we stumble with folders with files.
and that's where kix currently has the limit.


MightyR1
(MM club member)
2004-03-01 07:37 PM
Re: RD /c /h /f /s

For now I'm using the DelDir Udf.

NTDOCAdministrator
(KiX Master)
2004-03-01 10:17 PM
Re: RD /c /h /f /s

Patrick,

Just curious since you seem to have a need for this, but how about timing a SHELL to RD /S /Q of the data and running any of the native KiX methods or UDFs and let us know which is faster and by how much based on a given folder size with multiple files and folders.


MightyR1
(MM club member)
2004-03-03 12:09 AM
Re: RD /c /h /f /s

I don't care about time...

Just don't want to shell!!!


LonkeroAdministrator
(KiX Master Guru)
2004-03-04 07:11 AM
Re: RD /c /h /f /s

hmm...
fastest way should be to directly modify the MFT but afaik, kix does not provide way to go there