Invalid Usage Notice
sebetci opened this issue · 0 comments
sebetci commented
The use of DOSKEY
command in batch script files (*.cmd, *.bat) is not allowed. If a Linux tool such as MinGW is installed on your system, you can think that the DOSKEY
command works successfully. You might think that the DOSKEY
command works because of the similarity of some aliases in the source code (like ls
, clear
) to shell commands.
In a post on this subject, this situation is expressed as follows:
If you show the doskey help via doskey /? you get something like: "Recall and edit commands at the DOS prompt, and create macros". A Batch file is not the DOS prompt: the DOSKEY command works with keys pressed as input, like arrows or F7 keys.
Line 26 in 76dff5a