Jump to content
Server Maintenance This Week. ×

Send Event Probs


Genx

This topic is 6666 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Um, basically im trying to do some cmd automation... namely... im trying to execute another application and then use that application with flags etc... ie.. the problem im coming up with is trying to execute a second command following the first by using the filemaker carriage return... i.e.

The following works...

cmd /c pathd c:application path & P

The following doesnt...

cmd /c pathd c:application path & P & Lap -i window.jpg -o window2.jpg & P

im clearly doing something wrong... how do you send multiple ''events''?

Cheers, genx

Link to comment
Share on other sites

don't use returns. You can send multiple commands at the same time by separating the commands with "&" or "&&".

With "&" cmd will execute the 2nd command even if the first one failed. With "&&" the 2nd one will only fire if the first one succeeded.

You can string as many commands together as you like but there is a maximum # of characters to a command line (8000 or so I think).

Hunt for this file on your machine for more info: ntcmds.chm

Link to comment
Share on other sites

This topic is 6666 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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