Kris M Posted January 15, 2009 Posted January 15, 2009 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
chrisnta Posted January 15, 2009 Posted January 15, 2009 (edited) Use in Send DDE calculation: cmd /c xml-dir-listing.bat -o MusicList.xml "Z:Songs" Edited January 15, 2009 by Guest
Kris M Posted January 15, 2009 Author Posted January 15, 2009 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
chrisnta Posted January 15, 2009 Posted January 15, 2009 (edited) 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 January 15, 2009 by Guest
Recommended Posts
This topic is 5789 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now