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

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  

×

Important Information

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