Page 1 of 1

Help with closing cmd window after code has run

Posted: Wed Mar 01, 2023 12:18 am
by oobymach
Here's my code

set x=createobject("") "%comspec% /k ""C:\Users\Go\Desktop\Debug\PBO2 tuner Shortcut.lnk"""

Which works to run the shortcut with arguments intact but it leaves an open cmd window afterwards, adding exit and quit at the end produced errors running the script, any help is appreciated.