batch script print the command that would be executed rather than executing
问题 Is it possible to set a cmd.exe shell / batch file to print what would be executed but not actually execute it? For example, given a batch file that takes some arguments, based on those arguments selects some other batch files to run, those batch files execute some commands, may or may not call other files/commands etc. I would like to be able to run the top level batch file with all possible combinations of it's input arguments and capture what each arg combination would execute - without