![]() |
Forum Index : Microcontroller and PC projects : MMEdit wont load file.
Author | Message | ||||
Paul_L Guru ![]() Joined: 03/03/2016 Location: United StatesPosts: 769 |
Hi Jim, here's a weird one. I just loaded MMEdit on my win 7 machine. Windows DEP didn't like the program. I added MMEdit as an exception to DEP and MMEdit ran. Then I tried to load the file I've been working on, using >File >Open >j:\BrandyLane\ uM+ Control 01\Geo.bas. An error box pops up saying "0 OS Error: The system cannot find the path specified." I copied Geo.bas to c:\Users\Me\Documents and then MMEdit opened it. On the chance that MMEdit doesn't like spaces and other stuff in directory names I renamed the working directory to j:\BrandyLane\AA\Geo.bas and then MMEdit was able to load the file. I renamed the directory again to " AA" (that's space+AA) and it couldn't load the file. I renamed the directory again to "A AA" (that's A+space+AA) and it did load the file. It can't find files in directories that begin with a space! Notepad++ doesn't have this problem, it loads files from directories that begin with a space just fine. WHAT THE HECK IS WINDOWS DOING TO YOU????? Paul |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
That's rather odd. Just tried to create a new directory under my code with a leading space, " Test". Windows Explorer didn't seem to permit it. It removed the leading space from the name. Tried to rename it & it stripped the leading space again, so it's obviously a convention Windows is trying to protect against. Cheers. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
I guess Notepad++ uses a different Windows API function to handle filenames. Leading and trailing spaces in filenames do cause problems in Windows and Linux and it is something that I have never considered trying to find a way around. (Leading spaces are 'legal' but can be a pain.) @Phil To change a filename to one with leading spaces, you have to use the command prompt (and quotes) rather than windows explorer. Jim VK7JH MMedit |
||||
Paul_L Guru ![]() Joined: 03/03/2016 Location: United StatesPosts: 769 |
@Jim I REALLY LIKE your editor, particularly the variable report function. I haven't tried the DOS emulation yet but it looks interesting. I will still use Notepad++ for most of the writing. It responds to the windoze personalization settings where I use the high contrast setting that gives me white on black text. Your editor does not. In fact MMEdit shows nothing (white on white) in the variable report window. I also set Notepad++ to a black background. It's just way easier on my old eyes. @Phil My old reliable Total Commander file browser lets me name files and directories with leading spaces. This is very convenient because they pop to the top in an alpha sorted window. Paul |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
For sorting i always use a "_", easier to see and no weird things happening with programs. Microblocks. Build with logic. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
@Paul You can edit the file 'colours.inf' in the data folder to set the editor and terminal colours but there is no way to change the other windows such as the variable report. The language I wrote MMEdit in has limitations. I have been using Total Commander for many years including on my Android devices. I also use Notepad++ but haven't got around to creating a syntax file for MMBasic. Jim VK7JH MMedit |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
It was a big relief, the day I found it as a replacement for my old favourite.... Norton Commander. Hadn't even thought about an Android Version. That might be a must. Cheers. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |