Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ASSOC - does not work with switches
- BREAK - does no accept any other arguments except /?
- CALL - get bad switches as a path
- CD/CHDIR - get bad switches as a path
- CLS* - recognizes bad switches . Sets error level to 1
- COLOR - prints help message
- COPY* - recognizes bad switches . Sets errorlevel to 1 (including in %COPYCMD%)
- DATE - no
- DEL* - recognizes bad switches. Sets errorlevel to 1
- DIR* - recognizes bad switches. Sets errorlevel to 1 (incuding in %DIRCMD%)
- DPATH - does not recognize bad switches - take them as an argument
- ECHO - does not recognize bad switches - take them as an argument
- ENDLOCAL - no
- ERASE* - same as del
- EXIT - no .Tries to parse the arguments as number and this gives 0
- FOR - detects only the bad syntax
- FTYPE - get bad switches as arguments.
- GOTO - no.Tries to find a label
- IF - no. Detects only the bad syntax
- KEYS* - yes.Sets errorlevel to 1
- MD/MKDIR(*) - not sure.Sets errorlevel to 1 and prints error - but rather tries to parse bad switches as a path
- MKLINK* - yes.Sets errorlevel to 1
- MOVE(*) - same as MD
- PATH - no.same as DPATH.
- PAUSE - no. same as break
- POPD* - yes.Sets errorlevel to 1 and prints error message.The only way to break the command is with a bad switch (anything different than /?)
- PROMPT - no.get bad switches as arguments.
- PUSHD* - yes.Sets errorlevel to 1 and prints error message (different that a not found path)
- REM - no
- REN/RENAME* - yes.Sets errorlevel to 1
- RD/RMDIR* - yes.Sets errorlevel to 1
- SET* - yes as long the switch is not in quotes
- SETLOCAL - no.But sets errorlevel to 1 on any bad arguments`
- SHIFT - same as SETLOCAL
- START* - yes.Sets errorlevel to 1
- TIME - same as DATE
- TITLE - no
- TYPE* - yes.Sets errorlevel to 1
- VER* - yes.Sets errorlevel to 1
- VERIFY* - yes.Sets errorlevel to 1 (message is different than the wrong arguments)
- VOL* - yes.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement