Re martin325:
DOSKEY should be present in all Windows versions and most MS-DOS versions. It's just that the doskey.com under MS-DOS has version restrictions, and the 32-bit doskey.exe under WinNTs can't run under 16-bit MS-DOS. Doesn't your WinME have doskey.com? Then you can try doskey.com under Win98?
Creating, modifying, and deleting DOSKEY macros is very simple, similar to environment variable setting statements like set.
Create or modify: doskey del=none
Delete: doskey del=
As for what you call "removing", I understand it as prohibiting the operation of the doskey command, which is usually more complicated. But there is also a tricky way: doskey doskey=cls, which also prohibits the doskey command, so you can't use doskey at the command line, and naturally you can't modify and delete macro commands.
Of course, "the way is one foot high, the devil is ten feet high", this trick can also be easily broken, and there are more than one solution (already got 4 kinds), but fewer people know it. Here, it can be used as a guessing question. Let the high-level experts express their opinions and see if they can get answers different from what I have in mind.
[ Last edited by willsort on 2006-2-22 at 13:47 ]
※ Batchinger 致 Bat Fans:请访问
批处理编程的异类 ,欢迎交流与共享批处理编程心得!