Skip to main content
Solved

Executing commands via Files & processes


Forum|alt.badge.img+4

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.

Best answer by alexjdale

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

View original
Did this topic help you find an answer to your question?

4 replies

mpermann
Forum|alt.badge.img+22
  • Valued Contributor
  • 690 replies
  • April 14, 2014

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


Forum|alt.badge.img+17
  • Contributor
  • 881 replies
  • Answer
  • April 14, 2014

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


Forum|alt.badge.img+16
  • Contributor
  • 157 replies
  • April 14, 2014

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).


Forum|alt.badge.img+4
  • Author
  • Contributor
  • 23 replies
  • April 15, 2014

Excellent, thanks guys.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings