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.
|