Create a new file in Total Commander
Solution 1:
You can create a new text file in Total Commander by pressing SHFT + F4 and entering a file name. The file will automatically open in the editor which is configured under Configuration -> Options -> Operation -> Edit/View -> Editor for F4
.
Solution 2:
Press SHIFT +F4. Simple. No need for any menus
or the mouse.
Solution 3:
I saw in some blog (don't remember which - sorry) on a very simple way to do it which has a more TC authentic feel to it:
- Go to Start-->Change Start Menu
- Choose Add Item and give it the name Create File
- In the Command text input, type -
cmd /c type null >
- In the Parameters text input, type -
?%N
- In the Shortcut key drop down, choose whatever you want. I chose CTRL+ALT+F7 since it is easy for me to remember since F7 creates a new directory.
This way it works exactly like creating a new directory - and you can hardly notice it actually opens a shell window (it closes in less than a second).
Solution 4:
Since TC Beta 9.0 (June 2016) this functionality is also present in the internal command list as cm_EditNewFile (2931 - Create+Open a new text file). This means you can now create a button that does this for you, if that's your thing.
RMB on a button bar -> Change -> Add a new button -> Enter command 'cm_EditNewFile'