Notepad ++ v6.8.6 fails to open files from shared/network drives
-
After troubleshooting found that the culprit for me was the Notepad replacer 1.1.6, since it was the latest version i uninstalled it and everything was working… !!
Hope this helps others !!!
-
!! Sorry couldn’t find the edit option !!
Another thing that i found was when you have Notepad++ opened in administrator mode. (I used to for the hosts file)
It wouldn’t open the remote files, if i reopened the notepad ++ with the users privileges it opened fine.
Hope these and the previous post helps someone. -
Thanks a lot Dave! Same problem here (file on network drive won’t open with npp in administrator mode on Win10). Npp i s7.2.2.
-
Don’t know if it is related, when I used to save files form Notepad++ to SAMBA shares it would reset file access mode to the SAMBA configuration default. It is specifically annoying with respect to ‘x’ bit for scripts.
I found out that Notepad++ uses fopen/fclose/fwrite for files. It better use _open/_close/_write instead which eliminates the problem I had.
I use an old version (6.7.8) that I patched for myself so I don’t know if it changed since in mainline npp.It would be interesting to debug it from the SAMBA side (logs ?) to see if we can see Notepad++ attempts that are denied or whether it is blocked in the Windows side.
-
Had the same problem & found a fix here
Basically add a new DWORD to your registry called HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System/EnableLinkedConnection & give it a value of 1. Reboot & all should be good.
-
@Nashvi-Labs said:
Notepad ++
Recently, I edit the file with Notepad++ on my Latitude E6530, suddenly the machine closed down, Iam not sure what problem, is there any bugs with Notepad ++ or my Latitude E6530 battery is out of power.I forget to take the adapter to charge, who can tell me how to check it?
-
I didn’t read everything here, but I did notice if you start it in Administrator mode, you do not see the network drives. Normally does however see the network drives.
-
@Rob-Manley If you didn’t read everything, at least go back up and read the post from @Stickleback-Ne. He has a fix for it, if you’re able to apply Registry changes. :)
-
@Stickleback-Ne said:
Had the same problem & found a fix here
Basically add a new DWORD to your registry called HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System/EnableLinkedConnection & give it a value of 1. Reboot & all should be good.
This fixed the issue for me, but please note the typo. The new DWORD should be “EnableLinkedConnections”
-
I use Notepad++ v7.8.5 on Ubuntu 18.04. I run Ubuntu and Windows in dual boot mode.
I was not able to open text files in Windows (automatically mounted onto Ubuntu as /dev/sda3). Below is what I found to be useful.
Open UbuntuSoftware > Find Notepad-Plus-Plus (WINE) > Click on it > Click on Permissions > Find “Read/Write files on removable storage devices” > turn it ON.