Does Windows return a command line switch character?

On Windows, command line options are preceded /, sometimes by -. Is there a way to request Windows for this character? In MS-DOS, there config.syswas an installation SWITCHAR. Is there a similar parameter or system resource that can be obtained from Windows? Or is my command line application just using /or -without looking anywhere?

+4
source share
1 answer

I do not think that it was ever so that it was open from the outside. Perhaps some DOS 2.0 teams tested it, but did nothing else.

"SWITCHAR DOS ( )". []

, config.sys. , - Windows, . ( Larry Osterman SWITCHAR , , , -.)

- .

+3

Source: https://habr.com/ru/post/1534489/


All Articles