There are a number of circumstances when VSS commands ask for input from the user (for example, warnings containing Yes or No questions). This is not desirable when writing scripts or macros that execute the VSS command line from inside other programs. Use the -I- option to ensure that VSS never asks for user input.
When using the –I option, include the -C option to avoid the comment prompt.
The following table lists ways to use the -I option.
Option | Description |
-I-Y | Instructs VSS to answer Yes to all Yes or No questions. |
-I-N | Instructs VSS to answer No to all Yes or No questions. |