Results 1 to 10 of 10

Thread: Will batch-commands mix with thinbasic-console?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    55
    Posts
    1,555
    Rep Power
    174

    Will batch-commands mix with thinbasic-console?

    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?
    Last edited by ReneMiner; 23-10-2019 at 20:50.
    I think there are missing some Forum-sections as beta-testing and support

Similar Threads

  1. Suggestion: new for commands
    By kryton9 in forum Suggestions/Ideas discussions
    Replies: 7
    Last Post: 16-05-2017, 19:15
  2. batch (.bat) files
    By sandyrepope in forum General
    Replies: 9
    Last Post: 24-07-2008, 16:14

Members who have read this thread: 1

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •