"Access denied on file......"when double click the *.txt file

English support forum

Moderators: Hacker, petermad, Stefan2, white

flychi
Junior Member
Junior Member
Posts: 17
Joined: 2022-01-13, 09:36 UTC

"Access denied on file......"when double click the *.txt file

Post by *flychi »

Subject changed from "Problem about open txt file" by moderator.


I met a problem when use the TC(version:10.00).

1.Show the dialogbox "Access denied on file......"when double click the *.txt file.
2.No any actives after selected the *.txt file then push the F4 Button.

To run the RegistryInfo.exe, the information show below:

[HKEY_CLASSES_ROOT\.txt]
"Content Type"="text/plain"
"PerceivedType"="text"
@="txtfile"
[HKEY_CLASSES_ROOT\.txt\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\.txt\ShellNew]
"ItemName"="@%SystemRoot%\system32\notepad.exe,-470"
"NullFile"=""
=============================
[HKEY_CLASSES_ROOT\txtfile]
@="Text Document"
"EditFlags"=dword:00210000
[HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
@="%SystemRoot%\system32\imageres.dll,-102"
[HKEY_CLASSES_ROOT\txtfile\shell]
[HKEY_CLASSES_ROOT\txtfile\shell\open]
[HKEY_CLASSES_ROOT\txtfile\shell\open\command]
@="%SystemRoot%\system32\NOTEPAD.EXE %1"
[HKEY_CLASSES_ROOT\txtfile\shell\print]
[HKEY_CLASSES_ROOT\txtfile\shell\print\command]
@="%SystemRoot%\system32\NOTEPAD.EXE /p %1"
[HKEY_CLASSES_ROOT\txtfile\shell\printto]
[HKEY_CLASSES_ROOT\txtfile\shell\printto\command]
@="%SystemRoot%\system32\notepad.exe /pt "%1" "%2" "%3" "%4""
=============================
[Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList]
"a"="NOTEPAD.EXE"
"b"="adcb"
"c"="a"
"d"="vncviewer.exe"
"MRUList"="abcde"
"e"="TIM.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithProgids]
"txtfile"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice]
"Hash"="dAsamUnviP8="
"ProgId"="txtfile"
=============================
Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice="txtfile"
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: "Access denied on file......"when double click the *.txt file

Post by *Stefan2 »

Hi 2flychi

please provide your settings:
- open menu "Configuration > Change Settings Files Directly"
- from wincmd.ini post the line that is starting with "Editor="
( close wincmd.ini and wcx_ftp.ini )


- TC version: 10.00
- TC bitness: 32/64?
- Windows version and bitness:





 
flychi
Junior Member
Junior Member
Posts: 17
Joined: 2022-01-13, 09:36 UTC

Re: "Access denied on file......"when double click the *.txt file

Post by *flychi »

Thanks.


1) I didn't find the post the line that is starting with "Editor=" in wincmd.ini.
2) Now,mainly problem is press F4 can not open the editor.

- TC bitness: 64Bit
- OS : Win10 PRO 64Bit,VER:10.0,19044
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: "Access denied on file......"when double click the *.txt file

Post by *Stefan2 »

flychi wrote: 2022-04-04, 12:26 UTC
1) I didn't find the line that is starting with "Editor=" in wincmd.ini.


- in TC open menu "Configuration > Options..."
- find "Edit/View"
- at "Editor for F4"
- press [>>] button
- browse for and choose for example "C:\Windows\notepad.exe"
- in TC you should see now
      Editor for F4
      [C:\Windows\notepad.exe "%1"]
- click [OK]

Now try F4 again


Also you should have now in wincmd.ini a line like:
Editor=C:\Windows\notepad.exe "%1"


If not, open menu "Help > About TC..." and tell us the path to your ini file




 
flychi
Junior Member
Junior Member
Posts: 17
Joined: 2022-01-13, 09:36 UTC

Re: "Access denied on file......"when double click the *.txt file

Post by *flychi »

i solved this problem.The season is that it have two notepad.exe
c:\windows\notepad.exe
c:\windows\system32\notepad.exe
the first program is damaged.

Thank your help.
flychi
Junior Member
Junior Member
Posts: 17
Joined: 2022-01-13, 09:36 UTC

Re: "Access denied on file......"when double click the *.txt file

Post by *flychi »

Hi!
I met a new problem about the notepad.exe and txt files.

It is OK to run the C:\Windows\System32\notepad.exe in Windows Explorer.
But it failed run the C:\Windows\System32\notepad.exe in TC, double click it no any action.

And can not open *.txt file after double click it in TC.
No problem to open the *.txt file in Windows Explorer.

TC:V10.52 32bit;
OS:Win10 Pro;
flychi
Junior Member
Junior Member
Posts: 17
Joined: 2022-01-13, 09:36 UTC

Re: "Access denied on file......"when double click the *.txt file

Post by *flychi »

User avatar
Dalai
Power Member
Power Member
Posts: 9966
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: "Access denied on file......"when double click the *.txt file

Post by *Dalai »

2flychi
Well, due to WOW64, the system32 directory in Explorer is not equal to the system32 directory in any 32-bit program (including TC). See Windows x64: Explorer vs TC: Content of System32 different.

Try to execute C:\Windows\SysWOW64\notepad.exe in Explorer. My guess is that this won't work either. If so, check its permissions. But maybe you're on a newer Windows 10 release already where Notepad is an app instead of a native program and that app is somehow broken (like so many things in Win10).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
flychi
Junior Member
Junior Member
Posts: 17
Joined: 2022-01-13, 09:36 UTC

Re: "Access denied on file......"when double click the *.txt file

Post by *flychi »

In order to result this problem, I installed the Notepad2_4.2.25_x64.exe, this troubling disappeared.
Notepad problem has occurred many times, Hoping to improve TC and avoid this problem.
User avatar
tuska
Power Member
Power Member
Posts: 4053
Joined: 2007-05-21, 12:17 UTC

Re: "Access denied on file......"when double click the *.txt file

Post by *tuska »

flychi wrote: 2022-12-16, 11:39 UTC ...I installed the Notepad2_4.2.25_x64.exe, ...
Just for your information: There is already Notepad3.
flychi
Junior Member
Junior Member
Posts: 17
Joined: 2022-01-13, 09:36 UTC

Re: "Access denied on file......"when double click the *.txt file

Post by *flychi »

Ok, I have to try Notepad3.
It is suggested that Mr.Ghisler integrate Notepad2 or Notepad3 into TC.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: "Access denied on file......"when double click the *.txt file

Post by *Hacker »

tuska,
Also Notepad2e.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6975
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: "Access denied on file......"when double click the *.txt file

Post by *Horst.Epp »

flychi wrote: 2022-12-16, 12:19 UTC Ok, I have to try Notepad3.
It is suggested that Mr.Ghisler integrate Notepad2 or Notepad3 into TC.
Sorry but what is the benefit ?
You can configure any editor you like in TC.
Also Christian can't just add freeware editors in his shareware product.
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
flychi
Junior Member
Junior Member
Posts: 17
Joined: 2022-01-13, 09:36 UTC

Re: "Access denied on file......"when double click the *.txt file

Post by *flychi »

Ok.
Actually, my workhorse notepad tool is notepad++.
Now, SaaS is a Important direction,Notion,Milanote,etc,but the TXT file is the most basic.
flychi
Junior Member
Junior Member
Posts: 17
Joined: 2022-01-13, 09:36 UTC

Re: "Access denied on file......"when double click the *.txt file

Post by *flychi »

The direction of the TC's future,
whether to consider the development of features that support Cloud-Platforms,AZURE,AWS,ALIBABA
Post Reply