Jump to content

_RunDos...Need to run command with some "" included....HELP


Recommended Posts

Hi,

Here is the script

#include "Process.au3"

$comm = _RunDOS ("rundll32 printui.dll,PrintUIEntry /p /n'Win2PDF'")

the line needs to be like this at command prompt

rundll32 printui.dll,PrintUIEntry /p /n"Win2PDF"

how do I write the quotes around the printer name??????? to get this to work?????

Cheers

Mike

Link to comment
Share on other sites

Try this. Ya know that @ComSpec does not like single quotes so do not pass them.

$comm = _RunDOS ('rundll32 printui.dll,PrintUIEntry /p /n"Win2PDF"')oÝ÷ Ûú®¢×®Øb±«­¢+ØÀÌØí½µ´ô}IÕ¹=L ÅÕ½ÐíÉÕ¹±°ÌÈÁÉ¥¹ÑÕ¤¹±°±AÉ¥¹ÑU%¹ÑÉä½À½¸ÅÕ½ÐìÅÕ½Ðí]¥¸ÉAÅÕ½ÐìÅÕ½ÐìÅÕ½Ðì
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...