Page 1 of 1
Re-definition of CTRL+SHFIFT+ENTER in MS Vista/Win7
Posted: 2012-07-02, 08:11 UTC
by buzzlightyear
Under Vista and Windows 7, hitting CTRL+SHIFT+ENTER in cmd or the search box will raise the UAC dialog so that you can run the typed command elevated, i.e. with admin rights. It would be great if TC's command line would show the same behaviour.
The current implementation in TC (The file under the cursor including its path is appended to the command line.) could be assigned to another keyboard shortcut. At least, this should be a configuration option.
By the way, I'd also like to have a shortcut for "Copy path to clipboard" like the corresponding MS Powertoy does.
Posted: 2012-07-02, 13:41 UTC
by ghisler(Author)
[mod]Moved to suggestions forum[/mod]
Posted: 2012-07-02, 19:48 UTC
by MVV
Never heard about magic Windows's Ctrl+Shift+Enter, and it doesn't work for me... Please describe how to see it in action.
But I'm using TC's Ctrl+Shift+Enter for years, and many years before Windows Vista.
Posted: 2012-07-02, 20:36 UTC
by sqa_wizard
By the way, I'd also like to have a shortcut for "Copy path to clipboard" like the corresponding MS Powertoy does.
What about "cm_CopySrcPathToClip" ... feel free to assign a shortcut.
BTW: there are some others alike:
totalcmd.inc wrote:cm_CopyNamesToClip=2017;Copy filenames to clipboard
cm_CopyFullNamesToClip=2018;Copy names with full path
cm_CopyNetNamesToClip=2021;Copy names with UNC path
cm_CopySrcPathToClip=2029;Copy source path to clipboard
cm_CopyTrgPathToClip=2030;Copy target path to clipboard
cm_CopyFileDetailsToClip=2036;Copy all shown columns
cm_CopyFpFileDetailsToClip=2037;Copy all columns, with full path
cm_CopyNetFileDetailsToClip=2038;Copy all columns, with UNC path
Posted: 2012-07-03, 05:18 UTC
by Balderstrom
@MVV
Under Win7, Open the start menu,
Type in the search box, notepad
When you see notepad.exe appear at the top of the start menu -
Ctrl+Shift+Click on notepad.exe
Notepad will be run with Administrative rights, and you will get a UAC prompt just before it launches.
I had thought it also did so from the Run box (Win+R) but that doesn't appear to be working currently.
Posted: 2012-07-03, 07:06 UTC
by MVV
Wow, hidden feature

however I don't use that search box at all, I open Start menu with mouse in order to go on with mouse, but it is quite ugly to go on with mouse in Win7 Start menu because of its tree structure instead of drop-down submenus. If I want to launch a program with keyboard, I use Win+R, or simply TC. And I have my little
Sudo.exe in Windows folder, so I can simply type
sudo notepad. Anyway I don't open text editor directly, only on [Shift+]F4 from TC or Explorer.
buzzlightyear, you can use my
Sudo.exe for your task. Simply open Configuration - Misc dialog, select your shortcut and create new user-command in
usercmd.ini group. Your command should contain path to
Sudo.exe as a command and
%P%N as a parameter.
Posted: 2012-07-05, 12:51 UTC
by buzzlightyear
Balderstrom, thank you for the explanation. But MVV could also just have put the three words CTRL SHIFT ENTER in a google web search. That would have delivered these links on the very first results page:
http://www.mydigitallife.info/how-to-open-elevated-command-prompt-with-administrator-privileges-in-windows-vista/
http://blogs.msdn.com/b/tims/archive/2006/11/02/windows-vista-secret-10-open-an-elevated-command-prompt-in-six-keystrokes.aspx
MVV, yes I noticed your sudo.exe (as well as some other addons) and will surely try that once I'm forced to use Windows 7. At home I just upgraded from Win2k to WinXP a month ago and @work the Win7 rollout is postponed due to lots of application not ready for Win7 yet, he he
