Page 1 of 2 12>
Topic Options
#140438 - 2005-05-27 03:01 AM RD has not been updated
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
I know that the MD/COPY/DEL/MOVE commands were enhanced and/or had switches added to them to work more like thier command-line counter parts, however the RD command still does not work anything like the command-line version.

The Windows command-line version has this.

RD /?
Removes (deletes) a directory.

RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path

/S Removes all directories and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.

/Q Quiet mode, do not ask if ok to remove a directory tree with /S


The KiXtart RD command has no switches and if there are any files in the folder it won't work at all. The DEL command in KiXtart does not appear to have any switch or method to remove the Folders, but will remove the files. But that can now leave you with sub-folders without any files and no easy KiX built-in method to remove them.

I would like to suggest the addition/update of RD to behave like the command-line version does, before KiXtart 4.5 goes into a released version soon.
 
And before anyone puts in their 2 cents - Yes, I know we have UDFs for this, and you can SHELL and you can call COM objects, but think since the other file manipulations in this category now work similar to their command-line versions that RD should as well.

Thanks.
 

Top
#140439 - 2005-05-27 04:37 AM Re: RD has not been updated
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Here-here, I will add my support to this too. Can't count how many times I've had to shell-out to RD 'cause the builtin RD command doesn't do the whole job.
Top
#140440 - 2005-05-27 02:16 PM Re: RD has not been updated
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
My two pence. I agree.
Top
#140441 - 2005-05-29 09:36 PM Re: RD has not been updated
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
Very useful indeed.
Two extra pence in the basket.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#140442 - 2005-05-30 01:13 AM Re: RD has not been updated
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Yes, please update...
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#140443 - 2005-05-31 03:39 PM Re: RD has not been updated
Lee Wilmott Offline
Starting to like KiXtart

Registered: 2002-09-17
Posts: 106
Loc: Bristol, UK
I would just like to add my support for better "RD" options!

Lee

Top
#140444 - 2005-06-16 08:47 PM Re: RD has not been updated
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
/me donates a handful of cents to support the RD upgrade
Top
#140445 - 2005-07-05 02:13 AM Re: RD has not been updated
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Now that KiXtart 4.50 has gone to a Released status I would like to bring this back up again and ask that RD be updated as explained in this post.
 

Top
#140446 - 2005-07-22 06:24 PM Re: RD has not been updated
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Bump... Please fix RD in next beta
Top
#140447 - 2005-07-22 06:56 PM Re: RD has not been updated
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
There is no need to bump this until there IS another beta and as we now have KiX 2010, my guess is it might be a while.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#140448 - 2005-07-22 06:59 PM Re: RD has not been updated
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
is KiXtart 2010 the "official" name? i thought that we were using 4.50
Top
#140449 - 2005-07-22 07:15 PM Re: RD has not been updated
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Well Ruud said that he would start a new beta approximately 2 weeks after the final was released. Thus placed this post at top so that Ruud doesn't have to pour through multiple other posts before finding it, so (imho) I think it does need a bump
 

Top
#140450 - 2005-07-22 07:27 PM Re: RD has not been updated
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Is it not sufficient for you to maintain the sticky in Suggestions? I don't want everyone bumping topics here just because they can.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#140451 - 2005-12-20 09:24 AM Re: RD has not been updated
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Just to confirm "RD /S" will be in the first beta of 4.52.

More news later.

Ruud

Top
#140452 - 2005-12-20 11:11 AM Re: RD has not been updated
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
YOHOO - YAHOO

Thanks Ruud

Top
#140453 - 2005-12-22 05:47 PM Re: RD has not been updated
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
COOL!
_________________________
!

download KiXnet

Top
#140454 - 2005-12-22 05:50 PM Re: RD has not been updated
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
NICE!
Top
#140455 - 2006-01-06 01:19 AM Re: RD has not been updated
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Ruud,

The new RD /s command does not currently work like the CMD.EXE RD /s does. Currently the KiXtart RD /s will not do anything if any of the files in the folder are in use.

The RD /S from CMD.EXE will remove everything except the files in use.

As an example if you had a folder structure with 10,000 files and 200+ folders and only 1 file was in use, KiXtart would do nothing with the RD /S

Using RD /S from CMD.EXE would remove everything except that one file and the main folder it'self (which is understandable) but at least the other 9,999 files and 200 folders got removed.

Thanks and hope to see an update soon.

Top
#140456 - 2006-01-06 01:35 AM Re: RD has not been updated
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
wonder...
I think there should be /C switch too.
even though you can destroy a system with shell "%comspec% /c rd %windir% /S" I'm not sure kixtart rd should work like that...
_________________________
!

download KiXnet

Top
#140457 - 2006-01-06 02:36 AM Re: RD has not been updated
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Well could give it a /Q then but I would rather not cripple the command because someone didn't know how to script. Could easily damage a system with many other commands as well just like every language out there. Moving into the realm of "protecting the administrator from himself" is an area that I'd rather not get into. This is an scritping tool, not an OS

Update the manual to reflect that one should properly check with something like LEN or other method to confirm that one is removing the correct folder in case a VAR is not properly filled as expected, and show some examples of WHY and HOW.


Edited by NTDOC (2006-01-06 02:38 AM)

Top
Page 1 of 2 12>


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

Who's Online
1 registered (Allen) and 382 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

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