Jump to content

Recommended Posts

Posted

$readline = C:\Dennis\Internet\pine\freepdf.msi /qp

RunWait('"' & @ComSpec & '" /c "' & $readline & '"', @SW_HIDE)

Problem is that C:\Dennis\Internet\pine\freepdf.msi /qp is not found but it works without the /qp switch. Also if open a cmd window manually and put :\Dennis\Internet\pine\freepdf.msi /qp on it it works.

TIA for any help.

Dennis

Posted (edited)

$readline = "C:\Dennis\Internet\pine\freepdf.msi /qp"

RunWait(@ComSpec & ' /c "' & $readline & '"',"", @SW_HIDE)

Edited by Rick

Who needs puzzles when we have AutoIt!!

Posted

$readline = "C:\Dennis\Internet\pine\freepdf.msi /qp"

RunWait(@ComSpec & ' /c "' & $readline & '"',"", @SW_HIDE)

Hmmmm...closer but now I get ..

$running = RunWait(@ComSpec & ' /c "' & $readline & '"', @SW_HIDE)

The directory name is invalid.

Posted

Hmmmm...closer but now I get ..

$running = RunWait(@ComSpec & ' /c "' & $readline & '"', @SW_HIDE)

The directory name is invalid.

think I found it...

_RunDos("start " & $readline)

so far ok..

Posted

how about ..

$readline = "C:\Dennis\Internet\pine\freepdf.msi /qp"

RunWait(@ComSpec & ' /c "' & $readline & '"',"C:\Dennis\Internet\pine", @SW_HIDE)

Who needs puzzles when we have AutoIt!!

Posted

how about ..

$readline = "C:\Dennis\Internet\pine\freepdf.msi /qp"

RunWait(@ComSpec & ' /c "' & $readline & '"',"C:\Dennis\Internet\pine", @SW_HIDE)

Yes, that works!!! Thanx Rick!!

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
  • Recently Browsing   0 members

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