- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello Steve,
Yes sorry that is correct, I would be writing the process in workbench and the user would be using workspace. Thank you for the advice, I tried using that and the problem I am having is setting the directory that the .bat file is in. Can I run .bat files that are not on the LiveCycle Workbench Server? For example, I want to run a .bat file in another shared network drive.
Runtime.getRuntime().exec("C:\\Documents and Settings\\sgarciacode\\My Documents\\CONTROL.BAT");
When I try running this it uses the default workbench path. So when I try running this, it says that the file does not exist.
String[] command = { "cmd.exe", "/C", "Start", "CONTROL.BAT" };
Runtime r = Runtime.getRuntime();
Process p = r.exec(command);
p.waitFor();
Also I am not to familiar with the Webservice Foundation Service, could you please provide an example of how to use this or a link to where I could read more about it?
Thanks for the help.
Views
Replies
Total Likes