Executing command

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

Executing command

Postby bigtimery3k » Tue Jun 13, 2006 12:08 pm

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:

Postby jimo » Tue Jun 13, 2006 2:41 pm

yes
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com

bigtimery3k
Posts: 5
Joined: Mon Jun 12, 2006 12:57 pm

Postby bigtimery3k » Tue Jun 13, 2006 4:23 pm

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:

Postby jimo » Tue Jun 13, 2006 4:28 pm

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

Postby bigtimery3k » Tue Jun 13, 2006 4:30 pm

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:

Postby jimo » Tue Jun 13, 2006 4:32 pm

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

Postby bigtimery3k » Tue Jun 13, 2006 4:36 pm

thanks. trying it out.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 256 guests