Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Run Command Syntax

$
0
0
i am trying to add a network printer with a script.  i can do it with a batch file but i am trying to use autoit.

_RunDos("rundll32 printui.dll,PrintUIEntry /ga /c\\" & $inputComputer "/n\\" & $inputPrinter)


here is the dos command:

rundll32 printui.dll,PrintUIEntry /ga /c\\%computer% /n\\%printer%

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>