Menu

Search



How to Run External Commands from a Prism Script

Pam
Deploying Tasks to Computers

The information in this article applies to:

• Prism Deploy

• Prism Pack

• PictureTaker

Summary:

All Prism and PictureTaker products support a "/Run" command for use within scripts. The /Run command allows you to launch external DOS or Windows programs. Here's the context of the command:

/Run [/Wait] [/Continue] <external command>

/Continue:

Script execution should resume immediately after the specified program is launched.

/Wait:

Causes script execution to pause until the external program is completed. /Wait is the default when neither of the options is provided.

<external command>:

The DOS or Windows program to be launched. There do not need to be any quotes around the program and its arguments, but you'll want to quote single arguments or file-names that contain spaces. The entire command-line can contain normal environment variables or Prism and PictureTaker variables.

HINT: A DOS window opens when using the /Run command to launch DOS programs on Windows 9X systems. This window may stay open and the script may not continue until you close this window. Use the command %COMSPEC% /c at the beginning of the external command to cause the DOS window to close automatically. For example:

/Run /Wait %COMSPEC% /c Map S := \\Intranet\Prism

<!--[if !supportEmptyParas]--> <!--[endif]-->

<!--[if !supportEmptyParas]--> <!--[endif]-->


Also In This Category


On a scale of 1-5, please rate the helpfulness of this article


Not Helpful
Very Helpful
Optionally provide your comments to help us improve this article...

Thank you for your feedback!

Add Your Comments
Name:
Email Address:
RadEditor - HTML WYSIWYG Editor. MS Word-like content editing experience thanks to a rich set of formatting tools, dropdowns, dialogs, system modules and built-in spell-check.
RadEditor's components - toolbar, content area, modes and modules
   
Toolbar's wrapper  
Content area wrapper
RadEditor's bottom area: Design, Html and Preview modes, Statistics module and resize handle.
It contains RadEditor's Modes/views (HTML, Design and Preview), Statistics and Resizer
Editor Mode buttonsStatistics moduleEditor resizer
 
 
RadEditor's Modules - special tools used to provide extra information such as Tag Inspector, Real Time HTML Viewer, Tag Properties and other.
   
Verification Code:
Details
Last Modified: 19 Years Ago
Last Modified By: Pam
Type: HOWTO
Article not rated yet.
Article has been viewed 9.8K times.
Options
Customer Support Software By InstantKB 2015-2
Execution: 0.000. 9 queries. Compression Disabled.