Hi Guys,
I have an question how-to....
I want to process some windows-console commands and thinbasic-console-scripts are easier to handle , especially vaiables-handling etc.
Now my question: can thinbasic call command-line Tools that are built-in or are additional shipped with Windows:
How can i open thinbasic-console as Administrator?
And how would i use batch commands then, for example "xcopy" -
Would i have to declare xcopy somehow or could i Just use it in tb-console-script?
And other things as fsutil, DISM or whatever commands are delivered and built-in to Windows, are they usable without lots of effort, wrapping etc. and the Environment-Variables of windows are available too for get & set ? or does it require to use the registry to access windows-values like %homedrive%, %systemroot% or %app_data%. Or will i have to declare absolute variables in thinbasic on the adress of the windows-values?
Can i for example
Start cmd.exe /c "cmd /c Echo hello World!" %*
to start the command prompt to say "Hello World!" with Administrator-privileges (%*)? IsThere a Tutorial or some written experience about this matter?
Bookmarks