cm_NewFile without edit

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Xnor
Junior Member
Junior Member
Posts: 80
Joined: 2009-04-17, 10:55 UTC

cm_NewFile without edit

Post by *Xnor »

I would love to have a cm_NewFile without the Edit part. Means, just creating a file without opening it.

The reason behind it is, that I wanna be able to open the file with the program I want in that situation and not always with the same one. Depends on what kind of file I am creating and for what I will be using it.

Also sometimes I just don't wanna open it at all. There are a lot of usecases in which I prefer cm_NewFile over anything else and it would be even my standard command for creating files.
#201591 Single user licence
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

You could create an own user command, like

[em_NewFile]
cmd=%comspec% /c copy nul
Param=?NewFile_%%Date:~-2,2%%%%Date:~-7,2%%.txt

and then assign an shortcut to em_NewFile command via Options > misc.

For example
Ctrl+Shift+F4
or even origin
Shift+F4



http://ghisler.ch/board/viewtopic.php?p=136378#136378
http://ghisler.ch/board/viewtopic.php?p=159869#159869




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

Post by *petermad »

cm_EditFileMenu actually only creates the file
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply