none
Open other files with Small basic? RRS feed

  • Question

  • So i want to open a file automatically with a smallbasic program, how to i do this? I have this program which i want to open another small basic file, is this possible in any way? Its an .exe file if that matters. I tried File.Readcontents(file path)

    Thanks in advance!

    Monday, October 28, 2019 6:23 PM

Answers

  • The standard File.* commands can read only textfiles. As you want to open (I think you want to run)  the exe-program, look at the LitDev extension, there is a LDProcess.Start command which can run an external programflle.

    Jan [ WhTurner ] The Netherlands

    Tuesday, October 29, 2019 10:25 AM
    Answerer

All replies

  • The standard File.* commands can read only textfiles. As you want to open (I think you want to run)  the exe-program, look at the LitDev extension, there is a LDProcess.Start command which can run an external programflle.

    Jan [ WhTurner ] The Netherlands

    Tuesday, October 29, 2019 10:25 AM
    Answerer
  • thanks!
    Monday, November 4, 2019 9:51 AM