Run Program commands not executing - trying to add NUL port

Got a problem you cannot solve? Try here.
Post Reply
RobertLiebeskind
Posts: 2
Joined: Sun Apr 12, 2009 6:01 pm

Run Program commands not executing - trying to add NUL port

Post 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)
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You may need to set startup folders, try Run Program As.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply