Home > Article > Development Tools > How to edit txt file directory with notepad++
Notepad handles TXT file directories
Question: How to use Notepad to edit TXT file directories?
Answer:
Notepad is a text editor and does not support direct editing of file directories. However, you can use external commands to implement table of contents editing functionality in Notepad.
Steps:
Install the Total Commander plug-in:
Create a batch file (.bat):
edit_dir.bat
). <code class="bat">@echo off start "" "C:\Program Files\totalcmd\totalcmd64.exe" "%1"</code>
Associate the batch file:
edit_dir.bat
). Instructions:
Now, double-click the TXT folder to open it in Total Commander. Directories and files can be freely manipulated in Total Commander, for example:
Note:
"C:\Program Files (x86)\totalcmd\totalcmd.exe"
. The above is the detailed content of How to edit txt file directory with notepad++. For more information, please follow other related articles on the PHP Chinese website!