You can create a .bat file to give commands. You can check the above-shared method to use command-line options. Save the code to .bat file and run it as administrator.