Notepad++ file content different when opened in Windows Notepad
Any idea why the same text file (.js) has different content when opened in Notepad++ compared to when opened in Windows 7 Notepad?
No matter how much I modify (and save) in Notepad++, file contents won’t change when opened in Windows Notepad (or any other text editing software), even after several days & reboots.
Can you be more specific? What is the expected content of the file, and what is actually in there?
But the changes do appear when you open the file in Notepad++? In that case the only explanation I have is that there are actually two files. In case the changes do not get saved at all, and even Notepad++ displays the old content, maybe UAC is preventing write access to the file. Try saving it somewhere else (such as your desktop) and move it to the target location in Windows Explorer.
Hi Did any one get an answer to this I have just noticed the same thing happening on a work built PC,
If the Batch File is edited on MS Notepad.exe it shows no changes to the the file but if I open and edit in Notepad++ it shows the changes I made to start with If, I run run the batch file is uses the text that can been seen in the MS notepad.exe.
UAC is not active, users have permissions.
But my case the issues seems that regardless if I was in opening C:\Windows\System32\Sysprep\Clean.cmd, Notepad++ was opening and editing C:\Windows\sysWOW64\sysprep\Clean.cmd.
Im totally not getting what differences you are talking about but here are a few things
- line endings are changed
- UTF-8 BOM header (3 characters)
as you already figured out, file redirection is the issue here, you could use the sysnative alias to workaround it.