Page 2 of 2

Re: Notepad Compiler Error

Posted: Thu Jul 14, 2022 7:57 am
by tblough
In that case, what is in the compile.cmd file? Are you sure it's not named compile.cmd.txt? Do you have Windows set to hide known file extensions?

Re: Notepad Compiler Error

Posted: Thu Jul 14, 2022 3:46 pm
by Spartan117
I had the same error message, although started as admin, all configured like the Notepad++-TechnicalBulletin said and so on.
And yes, also here the .src and the compile.cmd are in the same directory, cnct. Like it installed itself.

What did the trick for me was:

Using $(Full_Current_Path) instead of $(File_Name) for the argument in notepad++
Now everything works fine and without error-message.

Re: Notepad Compiler Error

Posted: Thu Jul 14, 2022 3:52 pm
by tblough
If using the full_current_path worked and file_name didn't, then the source file wasn't in the current directory.

Re: Notepad Compiler Error

Posted: Thu Jul 14, 2022 4:17 pm
by Spartan117
Both are in the cnct-folder. As i said, typing the command manually did work.
I even tried to add the cnct-folder to the standard-paths in windows, but still no success then.

But hey, doesn't matter, now it works, so what :D ;)

Re: Notepad Compiler Error

Posted: Thu Jul 14, 2022 5:55 pm
by cncsnw
This may relate to how you are launching Notepad++.

For example, if you are using a Windows desktop shortcut, that shortcut may specify a "Start in" directory that is different from c:\cnct or c:\cncm.

Try right-clicking on your Notepad++ shortcut, selecting "Properties", and seeing what it says next to "Start in" on the Shortcut tab.

Re: Notepad Compiler Error

Posted: Sat Jul 16, 2022 4:09 am
by Spartan117
cncsnw wrote: Thu Jul 14, 2022 5:55 pm This may relate to how you are launching Notepad++.

For example, if you are using a Windows desktop shortcut, that shortcut may specify a "Start in" directory that is different from c:\cnct or c:\cncm.

Try right-clicking on your Notepad++ shortcut, selecting "Properties", and seeing what it says next to "Start in" on the Shortcut tab.
Most of the time, notepad++ becomes started automatically by windows when clicking an .src-file.
But i will have a look into what it says next to "Start-in"