Home › Forums › Great Computer Tips And Tricks › What is??? How to??? › What is a batch file and how do you make a simple one? › Re: Find out what switches or parameters modifies your command in the batch file.
How do you find out what switches or parameters modifies your command in the batch file?What is a switch or parameter?Switches are codes that can be added with a command to manipulate how the command is carried out. As in the last post using the XCOPY command, we used /e /y./e means to copy all directories and sub directories/y means to copy with prompting to overwrite the already exsisting filesThe xcopy command has a number of switches that you can use manipulate what the xcopy command does. How to find out what switches you can use with xcopy?Press on the WIN KEY and the letter R to open a run boxThen type cmd and then press OKNow type xcopy/?Now all the details about the switches you can use with the XCOPY command will appear. If you type robocopy/?