|
|
|
|
|
- Overview
- How to proceed?
- Running WDScript in command-line mode
- Running WDScript in console mode
WDScript: use in command-line and console mode
Scripts created with WDScript can be run: - in command line.
- in console mode. By running the script from the Windows console, you can write to the standard output.
Running WDScript in command-line mode To run WDScript in command-line mode, type the following command: <WDScript path> /SCRIPT=<Script path> where: - <WDScript path> is the full path to the WDScript.exe or WDScript64.exe file.
- "/SCRIPT=" is the command that allows you to specify the script to be run.
- <Script path> is the full path to the script to be run.
Example: c:\WinDev64\Programs\WDScript64.exe /SCRIPT="C:\Temp\test.wl" Running WDScript in console mode To run WDScript in console mode: - Open the Windows Run dialog box (Windows key + R).
- Type "cmd" and confirm.
- Enter the following command line:
<WDScriptConsole path> /SCRIPT=<Script path> where: - is the full path to the WDScriptConsole.exe or WDScriptConsole64.exe file.
- "/SCRIPT=" is the command that allows you to specify the script to be run.
- <Script path> is the full path to the script to be run.
Example: c:\WinDev64\Programs\WDScriptConsole.exe /SCRIPT="C:\Temp\test.wl" >"c:\temp\log.log" Remark: The result of the Trace function will be displayed in the standard output. You can also use the WLanguage ConsoleWrite function in the script.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|