Sign in to follow this  
Followers 0
coucou

Can't run a program neither by the .exe nor by the link

3 posts in this topic

Hi,

I'm trying for a while to run a prog with its option without success.

Here the command (as given after the installation by its shortcut

C:\WINDOWS\system32\spool\drivers\w32x86\3\bgsview.exe -printer="BroadGun pdfMachine" -config

By launching

Run("C:\WINDOWS\system32\spool\drivers\w32x86\3\bgsview.exe -printer="BroadGun pdfMachine" -config")
or
Run(@SystemDir & '\system32\spool\drivers\w32x86\3\bgsview.exe -printer='BroadGun pdfMachine' -config')
I got AutoIt Error Message as

Run("C:\WINDOWS\system32\spool\drivers\w32x86\3\bgsview.exe -printer= ^ERROR

Error: Error parsing function call.

Then I tried this

$exe = bgsview.exe -printer="BroadGun pdfMachine" -config
Run(@SystemDir & "\system32\spool\drivers\w32x86\3\$exe")
I got AutoIt Error Message

$exe = bgsview.exe -printer="BroadGun pdfMachine" -config

$exe = ^ERROR

Error: Error parsing function call.

Then I tried to run the link

ShellExecute(@ProgramsCommonDir & "\BroadGun Software\BroadGun pdfMachine options.lnk")
or
ShellExecuteWait('C:\Documents and Settings\All Users\Start Menu\Programs\BroadGun Software\BroadGun pdfMachine options.lnk')
Both commands return the window here bellow to Move the BroadGun pdfMachine options

Any help will be appreciated

coucou

Share this post


Link to post
Share on other sites



TNX JdeB

It works :)

coucou

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