where is the "create now folder" command in the UI

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
donector
Junior Member
Junior Member
Posts: 35
Joined: 2005-09-08, 22:07 UTC

where is the "create now folder" command in the UI

Post by *donector »

hi
for a good use of the ui i do not show the f buttons (where f7 appears) and traditionally i used the actual f7 button from the keyoboard.. however a i have purchased now one of these modern wireless keyboards which do not have f buttons! (to get the result you should add a combination of keys which is pretty cumbersome)

then by looking in the ui menus i have been unable to find the create folder button... the "closest" is "new tab" from the view menu,, which is far form the point... I have also realised there seems to be no "new file" command either in the native ui...

am I correct? or I am missing something... or maybe we can activate some option which adds these commands to the file menu, for instance?
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Menu items: New Dir, New Folder, New File

Post by *Stefan2 »

You can find the internal commands in file "TOTALCMD.INC"

[________________FileOperations________________]=0
cm_MkDir=907;Make directory



Just use "cm_MkDir" as command in an own created button.




You can also assign a new keyboard shortcut to that command.





And you can add it to the menu, see e.g.
..\LANGUAGE\WCMD_ENG.MNU

POPUP "&Files"
    MENUITEM "&Change Attributes...", cm_SetAttrib
    MENUITEM "New Folder...", cm_MkDir





- - -

To create new FILE, create your own command in usercmd.ini

f.ex.

[em_NewFile]
cmd=cmd /c copy nul
Param=?""


For that batch command use quotes around file names with spaces.

Or utilize a VBScript

[em_CreateNewFile_VBS]
CMD=%COMMANDER_PATH%\TOOLs\CMDs\CreateNewTextFile.vbs

CreateNewTextFile.vbs

Code: Select all

On Error Resume Next
NewFileName = InputBox("Enter file name to create new:", "Total Commander", "" )
If NewFileName="" Then WScript.Quit
CreateObject("Scripting.FileSystemObject").CreateTextFile(NewFileName)



By searching that keywords you will find many more examples in the forum...




- - -

You can also use a "Extended English Menus for Total Commander" (by petermad)
DOWNLOAD from: http://www.totalcmd.net/authors/1223914.html


Create New Folder is there, but not create New Files (or I didn't found it)

POPUP "&Files"
  POPUP "&Basic File Handling"
    MENUITEM "New &Folder...\tF7", 907



- - - EDIT
I found "create new file" in newest download (don't know if it was there before too)

  MENUITEM "Create and Edit New Te&xt File...\tSkift+F4", 2931

( cm_EditNewFile=2931;Create+Open new text file )

 (oh, and a typo: Skift >>> Shift)





 
donector
Junior Member
Junior Member
Posts: 35
Joined: 2005-09-08, 22:07 UTC

Re: Menu items: New Dir, New Folder, New File

Post by *donector »

Stefan2 wrote:

And you can add it to the menu, see e.g.
..\LANGUAGE\WCMD_ENG.MNU

POPUP "&Files"
    MENUITEM "&Change Attributes...", cm_SetAttrib
    MENUITEM "New Folder...", cm_MkDir


You can also use a "Extended English Menus for Total Commander" (by petermad)
DOWNLOAD from: http://www.totalcmd.net/authors/1223914.html


Create New Folder is there, but not create New Files (or I didn't found it)

POPUP "&Files"
  POPUP "&Basic File Handling"
    MENUITEM "New &Folder...\tF7", 907

 
that's too perfect...thanks mate!!! :D
Parane
Junior Member
Junior Member
Posts: 12
Joined: 2017-02-20, 00:45 UTC
Location: United Kingdom

Post by *Parane »

Strange. I still can't see it? :roll:
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[OT]

Post by *petermad »

2Stefan2
You can also use a "Extended English Menus for Total Commander" (by petermad)
DOWNLOAD from: http://www.totalcmd.net/authors/1223914.html

Create New Folder is there, but not create New Files (or I didn't found it)
Create new file is there:
"Files" -> "Basic File Handling" -> "Create and Edit New Text File (Shift+F4)".
Or:
"Files" -> "Windows New"

Maybe you are not using the latest version of the Menu ( http://www.ghisler.ch/board/viewtopic.php?t=33740 )
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply