Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

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

Posted

hmmm. basically what im wanting to know is how you put multiple commands on one line, and could someone please give me an example? cheers

genx

Posted

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

This topic is 6919 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.