If someone using one of my scripts happens to have the command separator set to, say, ~ then when my script says
setdos /C~ the response is The parameter is incorrect. "/C" because the ~ already is the command separator.
Since the %+ pseudovariable is no longer supported, how can I say "if the command separator is not ~ then setdos /C~"
setdos /C~ the response is The parameter is incorrect. "/C" because the ~ already is the command separator.
Since the %+ pseudovariable is no longer supported, how can I say "if the command separator is not ~ then setdos /C~"