Executing command

Got a problem you cannot solve? Try here.
Post Reply
bigtimery3k
Posts: 5
Joined: Mon Jun 12, 2006 12:57 pm

Executing command

Post by bigtimery3k »

Can i use the run program command to run a command i would normally run from the windows command prompt?
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

yes
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
bigtimery3k
Posts: 5
Joined: Mon Jun 12, 2006 12:57 pm

Post by bigtimery3k »

I am executing the command but the command is giving an error. Is there a way i can see what the error is?
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

FIrst try setting the current working directory using the call dll command calling SetCurrentDirectoryA in kernel32.dll.

If it still fails write out a batch file with a wait run the batch file from your installer and read the screen.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
bigtimery3k
Posts: 5
Joined: Mon Jun 12, 2006 12:57 pm

Post by bigtimery3k »

Can i pass variables from the installer to the batch file
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

You can write the batch file on the fly using the Write to Text File command.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
bigtimery3k
Posts: 5
Joined: Mon Jun 12, 2006 12:57 pm

Post by bigtimery3k »

thanks. trying it out.
Post Reply