Executing commands via Files & processes

sinergi
New Contributor III

I was curious if it's possible to add multiple lines of commands here? The box only shows a single text field rather than a multi-text field so I wasn't sure if I was to copy a script with multiple lines would run?

Thanks.

1 ACCEPTED SOLUTION

alexjdale
Valued Contributor III

Yep, you can separate commands with semicolons, basically treating them as line breaks.

View solution in original post

4 REPLIES 4

mpermann
Valued Contributor II

I think you can separate commands in the box with a semicolon to run more than one.

alexjdale
Valued Contributor III

Yep, you can separate commands with semicolons, basically treating them as line breaks.

Kevin
Contributor II

I use the box to run multiple commands using he semicolon all the time. This allows a policy to work even when a distribution point is unavailable (and a script cannot be downloaded). If a script only has a few lines, this is my preferred way to run it. For long scripts, I use the traditional method of uploading a file (or now pasting directly into the web GUI).

sinergi
New Contributor III

Excellent, thanks guys.