![]() |
Forum Index : Microcontroller and PC projects : Where Does MMBASIC for DOS Store Files????
Author | Message | ||||
jwettroth![]() Regular Member ![]() Joined: 02/08/2011 Location: United StatesPosts: 79 |
This might be a bone headed question but I'm stumped! I am writing some MMITE code but the beginning of the code was sort of user console where I would let the user set options, etc and then time out and run the regular code if no console was connected in the embedded version. I used MMBASIC for DOS 5.05.05 an d got my little console dialog working to my satisfaction in DOS. I figured I would then put it into the main embedded code but I can't find it. If I start mmbasicdos, I can load it, edit and run it- but I can't find it. I have saved it and its not gone, I just can't find it. Please be gentle if this is the dumbest problem ever but I'm lost. Regards John Wettroth |
||||
toml_12953 Guru ![]() Joined: 13/02/2015 Location: United StatesPosts: 442 |
From a DOS prompt do this: cd \ dir yourprogname /s DOS will search all directories (that's what the /s is for) to find the file. |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2640 |
WEDIT will open Notepad with the loaded file in it. Use "Save As" to put a copy in a location of your choice. Or try:- SAVE "C:\path\file.BAS" Can't Windows Search find it? |
||||
jwettroth![]() Regular Member ![]() Joined: 02/08/2011 Location: United StatesPosts: 79 |
Thank you! I'm of a certain age and relied on DOS for many years but forgot about /s switch. It found it! Its in "my user name\AppData\Local\Virtualstore\Program Files (x86)\MMBASIC" wow Is this documented? John Wettroth |
||||
jwettroth![]() Regular Member ![]() Joined: 02/08/2011 Location: United StatesPosts: 79 |
Windows search was of no use. I tried to do a save to C:\, root of C:, no joy. I appreciate the help. John Wettroth |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2640 |
"Is this documented?" Searched the manual but can't find it. Tested WEDIT and that works. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
It looks like you installed MMBasic.exe into program files. NOT a good idea put the exe into a folder that is NOT in program files such as C:\apps\MMBasic That way Windows will behave nice. Jim VK7JH MMedit |
||||
jwettroth![]() Regular Member ![]() Joined: 02/08/2011 Location: United StatesPosts: 79 |
WEDIT Didn't work for me- If I rerun MMBASIC and do a load- all works. If I do a WEDIT, it says file not found. It must have been the way I started the file. I was trying to try out some commands and just started typing into the MMBASIC dos console. After I got a handle on things, I just used the MMBASIC editor until I got to a certain point. I then was going to merge the code into my embedded app inside of Notepad++ but ran into this weirdness. Thanks very much Phil99 and toml_12953- this is an amazing group- its after 1 am, I get stumped, put a question on line and have a solution in 20 minutes- amazing! John Wettroth |
||||
jwettroth![]() Regular Member ![]() Joined: 02/08/2011 Location: United StatesPosts: 79 |
Wow- thank you Tassy Jim- just trying to keep my root directory Tidy I get it and I had no idea of this odd behavior but it now makes perfect sense. Thanks - I repeat "best user group ever!" John Wettroth |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2640 |
"If I do a WEDIT, it says file not found." Were you trying that at the DOS prompt? My bad I should have said it is a MMBasic command ie you use it at the MMBasic command prompt. |
||||
jwettroth![]() Regular Member ![]() Joined: 02/08/2011 Location: United StatesPosts: 79 |
phil99- thanks for the help- WEDIT is a cool feature. I guess I have to move MMBASIC out of the program files folders- Windoze treats this differently and does funny things- thanks Tassy Jim. Learned something. John Wettroth |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |