Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2013
    Posts
    226

    Unanswered: running external files

    Hi,

    I need to run a bat file that sets up a shell environment and then need to send a command.

    If doing this by hand I would double-click that .bat file that opens up the command prompt and sets up the environment. I would then type in a command at the prompt.

    Is there any way that I can replicate this from within BD, by clicking a button?

    Cheers

    Matty

  2. #2
    Join Date
    Jul 2012
    Location
    Ireland
    Posts
    815
    Provided Answers: 17
    Hi Marty.
    Yes, you can use the "open file/URL" action to run the bat file when a button is pressed.

    Best to place the bat file in your myfiles sub folder as then you don't have to maintain a known path to wherever the end user installs the database. You can use the myfiles system variable as the path.

    Regards
    James

Posting Permissions

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