Page 1 of 1 1
Topic Options
#114661 - 2004-02-24 01:32 AM RD /c /h /f /s
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
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
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#114662 - 2004-02-24 02:47 AM Re: RD /c /h /f /s
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
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.

Top
#114663 - 2004-02-24 07:19 AM Re: RD /c /h /f /s
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
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.
_________________________
!

download KiXnet

Top
#114664 - 2004-03-01 07:37 PM Re: RD /c /h /f /s
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
For now I'm using the DelDir Udf.
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#114665 - 2004-03-01 10:17 PM Re: RD /c /h /f /s
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
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.

Top
#114666 - 2004-03-03 12:09 AM Re: RD /c /h /f /s
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
I don't care about time...

Just don't want to shell!!!
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#114667 - 2004-03-04 07:11 AM Re: RD /c /h /f /s
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
fastest way should be to directly modify the MFT but afaik, kix does not provide way to go there
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 515 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.055 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org