View Full Version : Help: command line parameters
Hi, I am just new man to thinBasic.
Where can I get any information about the parameters for both thinBasic.exe and thinBasicc.exe ?
For example: under dos console, if we type dir /? , then it would show all
the parameters for the command "dir" out on the screen.
Michael Clease
07-03-2012, 01:11
I don't believe Eros has released any information about any possible parameters but a quick test proved that passing the script name will execute it.
thinbasic test.tbasic
Petr Schreiber
07-03-2012, 10:23
I think the following should work:
Executing script file (as Mike wrote):
thinBasic.exe <script name>
Executing debugger on passed script:
thinBasic.exe @D <script name>
Creating obfuscated version of the script (tBasicX file):
thinBasic.exe @O <script name>
Petr
ErosOlmi
07-03-2012, 22:30
Petr is correct.
They will be listed in help file in next thinBasic release.
Just to repeat, full thinBasic syntax is the following:
thinBasic.exe [execution flags] <Script file name> [Optional parameters]
where [execution flags] can be one of the following
@D
Debug mode: the script will be executed in debug mode showing thinbasic debug window. Execution is retained by the debug engine until runtime error or user exiting from debugger.
@O
Obfuscation mode. The script will not be executed but an obfuscated version of the original script will be created in the same directory of the original script. Obfuscated scripts have .tbasicx extension. Execution will immediately return to calling program.
@B
Dependency mode. The script will be partially executed in order to analyse dependant module and include files. A file with the same file name of the original script but with extension .sdep will be created in the same directory or the original script. Execution will immediately return to calling program.
Ciao
Eros
Many thanks for all your answers!