Jump to content
Macro Express Forums

Trouble Launching A Dos Program


terry
 Share

Recommended Posts

Hi,

 

I'm new to MacroExpress, and having a problem launching a DOS program located on a network drive. I think I'm encountering two problems: 1 Default folder located on same drive as MacroExpress; 2 Program to launch requires several arguments. See below:

 

Wizard:

> System & Files

> Launch or Activate Programs

> Activate a program if it is running, otherwise launch it

> Default folder? Yes - F:\rootdir\subdir_containing_executable

> Program to launch: FOXR.EXE -c..\pro\config.fp -t +X

 

MacExp says that it cannot find "pro\config.fp"; and when I remove all arguments MacExp says that it cannot find "FOXR.EXE". The following is the small macro in its entirety:

 

<DOCFILE:01:NN:F:\COMPLINK.JS\DATA.JS>><TEXTTYPE><LAUNCHYES3:0:0112:JSK<LAUNCH:F:\rootdir\subdir_containing_executable\FOXR.exe -c..\pro\config.fp -t +X><TEXTTYPE:>>

 

Any help appreciated! Thank you.

 

Terry

 

P.S., Here's what I need the macro to do

1 Change to working directory on network drive: F:\rootdir\subdir_containing_executable

2 Execute the following command: FOXR.EXE -c..\pro\config.fp -t +X (a foxpro-based prgm :) )

Link to comment
Share on other sites

Nevermind. I found a new way to solve my problem. Instead of trying to launch the foxpro program directly, I made a macro to lauch cmd.exe, then mounted [or whatever its called in windows] the F: drive, cd to the working directory, and provided the command to run the foxpro-based program.

 

I'm starting to enjoy Macro Express!!!!

 

Terry

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...