Page 1 of 1

Run Program commands not executing - trying to add NUL port

Posted: Tue Jul 21, 2009 1:03 pm
by RobertLiebeskind
The commands below work when run outside of IA9 but not from within. I am installing a NUL: port to be used by a printer. What am I doing wrong please.

Run Program regsvr32 /s "$TARGETDIR$\\system\\prnadmin.dll" (WAIT)
Run Program cscript //nologo "$TARGETDIR$\\system\\portmgr.vbs" -a -p NUL: -t local (WAIT)

Posted: Tue Jul 21, 2009 6:06 pm
by MichaelNesmith
You may need to set startup folders, try Run Program As.