I need to run 2 commands from the same directory in this order, but I can't figure out how to put it all into one .cmd or .bat file: tapctl.exe create --hwid wintun openvpn.exe The following does not work, mostly because "start" doesn't appear to execute the "create --hwid wintun" portion: start "C:\Program Files\OpenVPN\tapctl.exe create --hwid wintun start openvpn.exe
Code: cd /d "C:\Program Files\OpenVPN" tapctl.exe create --hwid wintun openvpn.exe Spoiler if you use start for a command that have quoted path, you must add another quotes marks beforehand for title (can be empty) Code: start "" "C:\Program Files\OpenVPN\tapctl.exe" create --hwid wintun
Was thinking "call" command would do similar, then remembered call is for running bat file inside a bat file.