BrineSoft Script Editor
Script Editor - BrineSoft Online Help Prev Page Prev Page
Overview
What Is WSF
Why Use WSF
Scripting Languages
System Requirements
Command Line Options
Errors Handling
Find WSH Error
Bookmarks
Working with Bookmarks
Workspaces
Understanding Workspaces
Interim Workspace
Default Workspace
Workspace Files
Workspace Content
New Workspace Wizard
User Interface
Main Window
Find
Find in Files
Workspace Settings
Options
Object Properties
Replace Selection
Select Jobs
Tools
Select Scripting Language
Create a Windows Shortcut
Get Script File
New Project Wizard
Main Menu
Menu File
Menu Edit
Menu Find
Menu Workspace
Menu Project
Menu Run
Menu Options
Menu Tools
Menu View
Menu Window
Menu Help
Temporary Files
Temporary Files ~$
Temporary Files ~@
Working with Project Tree
Edit <job>
Edit <script>
Edit <object>
Edit <reference>
Edit <resource>
Edit <runtime>
Edit <comment>
Embedding All Scripts
Checking a Project
Working with Files
Open a Project or a Script
Run a Project or a Script
Save a Project or a Script
Close a Project or a Script
Miscellaneous
Microsoft Script Control
File ScriptEditor.xml
Purchase Script Editor
Register the Product
Registration Benefits
 BrineSoft Main Page | Script Editor Page | Download this Help File

Command Line Options

Using the command line options enables to run Editor from a batch file (*.bat), Windows shortcut, etc.

<filename>
If it is the only parametr that is supplied and it is a name of a script file and the file exists, the file is open. It cannot be used together with below parameters and switches.

-w<filename>
It opens the specified Workspace file when Editor is started. It must be a Workspace that has been used before, so that the Workspace file (*.ws) is already created by Editor. Only a name of the Workspace is expected here, no path and no extension, in the same way as it appears in the workspace-selection combo box.
If the workspace name contains spaces, enclose the parameter to quotation marks.

-f<filename>
This opens the specified script file when Editor is started. The fully qualified path is expected here; the name should consist of the drive letter, path, file name and extension. No wildcards allowed.
In case you specify long names (with a possible space somewhere), enclose the parameter to quotation marks.

-r
This starts immediately a script execution. It has meaning only when used together with -f parameter.

Remarks

When only -f parameter is specified the Workspace Interim is created first. Then the file specified with -f parameter is open.

When only -w parameter is specified the specified Workspace is open including all the open files. It works in quite the same way as if the user selects the Workspace from the combo box.

When both -w and -f parameters are specified then the specified Workspace is open (all the settings of that Workspace will be used) first, but no files. Then the file specified with -f parameter will be open.

Examples

ScriptEditor.exe -r "-fc:\Program Files\Some Scripts\Default\SomeScript.vbs"

This starts Editor, opens the file SomeScript.vbs and executes the script.

ScriptEditor.exe "-wMy first workspace" "-fc:\My Scripts\MyScript.vbs"

This starts Editor, loads the settings of the specified Workspace and opens the script MyScript.vbs.

See Also
Options, Workspace Settings