Jump to content
Sign in to follow this  
Kris M

Use Send DDE Execute?

Recommended Posts

I am trying to trigger a java program using the Send DDE execute script step and I cant seem to wrap my head around how to do it.

The program is triggered by a .bat file that is located in a local folder that is listed in the Windows XP path statement so I can, theoretically, execute it from anywhere.

The required command line entry is

xml-dir-listing -o MusicList.xml "Z:Songs"

where "xlm-dir-listing" is the program, "-o MusicLIst.xml" specifies the output file name, and ""Z:Songs"" specifies the directory to list.

Any thoughts on how to get this to work via FM script?.

PS The file is not multi user enabled in any way

Share this post


Link to post
Share on other sites

Use in Send DDE calculation:

cmd /c xml-dir-listing.bat -o MusicList.xml "Z:Songs"

Edited by Guest

Share this post


Link to post
Share on other sites

What piece goes where?

I tried every permutation of Service Name/Topic/Commands that i could think of with the string you suggested and it failed

Share this post


Link to post
Share on other sites

cmd starts the command line

/c execute the program

try something easier to test like:

"cmd /c ping your IP Address"

EDIT:

cmd /c xml-dir-listing.bat -o MusicList.xml [color:red]"Z:Songs[color:red]"

try:

"cmd /c xml-dir-listing.bat -o MusicList.xml [color:green]> Z:Songs"

Edited by Guest

Share this post


Link to post
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.
Note: Your post will require moderator approval before it will be visible.

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.