Add support for DIR, (DIR followed by a comma)
the comma apparently has a wider meaning in MS-DOS:
"DIR *.COM," displays all COM files, but NOT hidden ones.
"tree," works as "tree"
"tree,C:\" fails with an error "Too many parameters"
"copy autoexec.bat,backup.bat" copies autoexec.bat to backup.bat
Do you know what the exact rules are?
Reply To mateuszviste
the comma apparently has a wider meaning in MS-DOS: "DIR *.COM," displays all COM files, but NOT hidden ones.
"dir.com" does the same. Or "dir.bat" for all .bat files, ...
"tree," works as "tree" "tree,C:\" fails with an error "Too many parameters" "copy autoexec.bat,backup.bat" copies autoexec.bat to backup.bat
Um. Didn't know that. "copy autoexec.bat:backup.bat" works too.
There also is copy autoexec.bat+,, to update a file's timestamp (aka. poor man's touch).
It doesn't work in SvarCOM. SvarCOM tells me:
,, - File not found 1 file(s) copiedBut the timestamp is not updated.
Do you know what the exact rules are?
No. (Most of)These are probably quirks. Some are documented in http://www.retroarchive.org/garbo/pc/batchutil/muf17.zip and / or http://www.retroarchive.org/garbo/pc/batchutil/batfaq23.zip
Displays ALL files in the current directory, including hidden and system files.
Undocumented, but often used by advanced users, when no file manager is at hand.