Author Topic: Set destination folder of created EXE file  (Read 3121 times)

0 Members and 1 Guest are viewing this topic.

Offline Mad Axeman

  • Newbie
  • Posts: 74
    • View Profile
    • My web site - Harrythetrout
Set destination folder of created EXE file
« on: January 10, 2019, 02:30:02 pm »
Only just started playing around with QB64 and can't seem to find a way to set the path that the .EXE files are created in. At the moment they all go to the QB64 folder. Is there a way to set the path the .EXE files are created in?
Oh look - a sig file :-)

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: Set destination folder of created EXE file
« Reply #1 on: January 10, 2019, 03:02:18 pm »
You could do this instead of setting a path..

Open RUN tab in the IDE

Click OUTPUT EXE TO SOURCE FOLDER

Now that just makes it so the exe is placed in the same folder as your QB64 .bas file. So if you want the exe folder in say, C:\myfiles, you would need to put or create (save) the BASIC file to that folder, first. Now I actually haven't ever tried this so please someone else correct me if I'm presuming incorrectly or explain to the OP if there is a anther way. It's been so long since I've compiled from the command line I can't remember if that's an option.

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Set destination folder of created EXE file
« Reply #2 on: January 10, 2019, 07:24:31 pm »
"Click OUTPUT EXE TO SOURCE FOLDER"

Is the first thing I do when I start up a new copy of QB64, keeping all exe's with source files in separate project folders or directories of like code.

Offline Mad Axeman

  • Newbie
  • Posts: 74
    • View Profile
    • My web site - Harrythetrout
Re: Set destination folder of created EXE file
« Reply #3 on: January 11, 2019, 02:10:47 pm »
That did the job. Thanks.
Oh look - a sig file :-)