Notepad++ tries to open all files in current folder when opening file without extension

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
cubic
Junior Member
Junior Member
Posts: 82
Joined: 2007-07-18, 12:21 UTC

Notepad++ tries to open all files in current folder when opening file without extension

Post by *cubic »

Notepad++ tries to open everything in current folder when editing/opening new file from Total commander.
If there are 5000 files in that folder, Notepad++ will open all of them.

Repro:
Go to a folder where there are many subfolders/files.
Press Shift+F4.
Enter file name WITHOUT extension (example "myfile")
Press enter to create file.
Notepadd++ will open all files in that folder (after some minutes).

Image: https://ibb.co/k1V3vXg
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6981
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Notepad++ tries to open all files in current folder when opening file without extension

Post by *Horst.Epp »

Its not a TC fault, so you have to complain to the Notepad++ author.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Notepad++ tries to open all files in current folder when opening file without extension

Post by *Stefan2 »

2cubic, please post your settings.

> TC-Menu "Configuration > Change Settings File Directly"
>> Search in wincmd.ini for line "Editor=" and post the whole line.
>>>> Close wincmd.ini (and wcx_ftp.ini) without saving.

Also report your app version:
- TC version and bitness
- OS version and bitness
- N++ version and bitness

Does that always happen, with all folder and file names?
Does that happen with "filename.ext" too?



 
HuSc
Junior Member
Junior Member
Posts: 25
Joined: 2014-03-10, 15:55 UTC

Re: Notepad++ tries to open all files in current folder when opening file without extension

Post by *HuSc »

Hi,

I had observd a similar effect on one of my configurations with NP++:
viewtopic.php?p=396357#p396357

Member Hacker suggested following solution (in the linked thread) which solved this problem:

Try adding a space and
"%1"
after the path to your editor's exe in TC's configuration.


Hubert
User avatar
petermad
Power Member
Power Member
Posts: 16034
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Notepad++ tries to open all files in current folder when opening file without extension

Post by *petermad »

Try adding a space and
"%1"
after the path to your editor's exe in TC's configuration.
That would be my advice too.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
cubic
Junior Member
Junior Member
Posts: 82
Joined: 2007-07-18, 12:21 UTC

Re: Notepad++ tries to open all files in current folder when opening file without extension

Post by *cubic »

HuSc wrote: 2021-03-22, 09:51 UTC
Try adding a space and
"%1"
after the path to your editor's exe in TC's configuration.
Hubert
It worked. Thanks!
Case closed :)
Post Reply