exe files

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
johnny08
Newbie
Posts: 1
Joined: Mon Feb 25, 2019 1:01 pm

exe files

Post by johnny08 »

How do you set the path where program .exe files are stored?
mikefromca
Coder
Posts: 41
Joined: Wed Oct 16, 2019 11:28 am

Re: exe files

Post by mikefromca »

I'm guessing you want to set the path of a new exe file you're compiling with Quickbasic.

In that case, you would have to specify the entire filename in the prompt that appears when it asks you for the filename, not just the filename itself.

Example:

c:\path\to\new.exe

Not:

new.exe


But if you want to set folders where DOS searches for exe files when you want to run one, then just use the PATH environment variable on the path itself like so:

PATH c:\path\to

And you can use multiple folder names too. just separate each with a semicolon.
Post Reply