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.
Re-definition of CTRL+SHFIFT+ENTER in MS Vista/Win7
Moderators: Hacker, petermad, Stefan2, white
- buzzlightyear
- Junior Member
- Posts: 42
- Joined: 2004-10-01, 10:46 UTC
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- sqa_wizard
- Power Member
- Posts: 3896
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
What about "cm_CopySrcPathToClip" ... feel free to assign a shortcut.By the way, I'd also like to have a shortcut for "Copy path to clipboard" like the corresponding MS Powertoy does.
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
#5767 Personal license
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
@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.
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.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
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.

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.
- buzzlightyear
- Junior Member
- Posts: 42
- Joined: 2004-10-01, 10:46 UTC
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
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
