???
I'm getting a bit confused reading this. Maybe I haven't understood exactly what you mean by “directly.” At first I understood it as you possibly meaning the physical movement of files. That's why I said, “if you're trying to save effort, why move directly?” Now it seems you mean that the move command should “directly” take the directory itself as the object of operation, rather than the files inside the directory. Just like NC's F6 function I mentioned earlier. If that's what you mean, then I don't think there's much to discuss, because under traditional DOS, move simply has this characteristic. In fact, this characteristic was inherited from the traditional behavior of DOS command operation objects: that is, if a filename is assumed to be a file, then the operation is performed on that file; if it is a directory, then the operation is performed on the files inside that directory. dir, del, and copy are all like this. I think both you and I understand that point. When DOS originally added the move command, it likewise had to preserve this characteristic, so there was no such “direct” behavior as you imagine. (Actually, when we first started using the move command, we all made this same taken-for-granted mistake: strange, why can't move move directories? And even when it does, it can only do so between the same level—what kind of move is that, isn't that just ren? Hehe.) Actually, your current confusion (in my opinion) is because you've used Windows for so long that you've unconsciously been too deeply “poisoned” by it. You've
reversed some Windows operating habits back onto DOS. (Hehe, actually I also feel that after using Windows too long, my brain has gotten duller.)
There is one point I left out earlier; it should be this:
move /d src dst\src
This way it can create the src subdirectory under dst, but the source src directory still remains, and the reason is still the DOS operation-object characteristic I mentioned above.
provide a command-line tool that can directly move directories under DOS.
I'm afraid probably not. Because everyone wants to preserve this DOS operating characteristic, unless someone now sees your idea, 笑天, and redevelops one
4DOS.COM really does give different help prompts in different environments, but this does not refer to the separate help prompt for each individual command; rather it refers to the “question mark” help prompt, that is "?", similar to FASTHELP in MS-DOS. Under a pure DOS environment, compared with MS-DOS 7.X and the DOSBOX under Win9x, it lacks the two commands lock and unlock.
but judging from 4dos's installation prompt under NTs, there do seem to be certain functional restrictions.
I have never installed/used 4DOS in an NTs environment. It seems that from your practical testing, my guess has been confirmed.
http://www.cn-dos.net/forum/viewthread.php?tid=15228&page=1
a passage in my post #10 there