Sign in to follow this  
Followers 0
hispeed_mike

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

3 posts in this topic

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

Share this post


Link to post
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"')

:whistle:

Share this post


Link to post
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ÅÕ½ÐìÅÕ½ÐìÅÕ½Ðì

Share this post


Link to post
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
Sign in to follow this  
Followers 0