Topic: Check on presence of empty parameters
Hello! Not so I understand command files, but I try to understand. Prompt, how it is possible to make check on presence of empty parameters?
There is a job: to Develop the command file the creating, copying or deleting directory specified in command line, depending on the selected key (the substituted parameter)/n,/c,/d
There is a decision:
if %1 ==/n md %2
if %1 ==/c xcopy/i/e %2 %3
if %1 ==/d rd/s/q%2
Probably something not so... I will be grateful for any help. Thanks.