Sign in to follow this  
Followers 0
tempman

Run() problem

4 posts in this topic

Hi,

At my office we use x32 GUI application writen I think in C lenguage,

which use .MDB file for workng with data, at Windows Xp Professional platform.

When I try to run office application using AutoIt

$var = "C:\Program Files\Office Max\OfficeMax.exe"
Run($var)

OfficeMax inform me that "Nececery data is not available"

When I use Command Prompt

C:\Documents and Settings\Administrator>"C:\Program Files\Office Max\OfficeMax.exe"

it is the same, but when I try these

C:\Documents and Settings\Administrator>cd "C:\Program Files\Office Max\"
C:\Program Files\Office Max\>OfficeMax.exe

OfficeMax load with no error!

Any hint how to run OfficeMax using AutoIt?

Share this post


Link to post
Share on other sites



Hi,

At my office we use x32 GUI application writen I think in C lenguage,

which use .MDB file for workng with data, at Windows Xp Professional platform.

When I try to run office application using AutoIt

$var = "C:\Program Files\Office Max\OfficeMax.exe"
Run($var)

OfficeMax inform me that "Nececery data is not available"

When I use Command Prompt

C:\Documents and Settings\Administrator>"C:\Program Files\Office Max\OfficeMax.exe"

it is the same, but when I try these

C:\Documents and Settings\Administrator>cd "C:\Program Files\Office Max\"
C:\Program Files\Office Max\>OfficeMax.exe

OfficeMax load with no error!

Any hint how to run OfficeMax using AutoIt?

Try this ...

Run("C:\Program Files\Office Max\OfficeMax.exe","C:\Program Files\Office Max")

Share this post


Link to post
Share on other sites

Try this ...

Run("C:\Program Files\Office Max\OfficeMax.exe","C:\Program Files\Office Max")
:D

Cheers mate! - Thanks!

Share this post


Link to post
Share on other sites

:D

Cheers mate! - Thanks!

You're welcome!

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