Linking to Windows Snipping Tool from the TC 7.56 button bar

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
sergeycentral
Junior Member
Junior Member
Posts: 34
Joined: 2003-07-24, 02:48 UTC
Location: USA

Linking to Windows Snipping Tool from the TC 7.56 button bar

Post by *sergeycentral »

This is a really odd issue. Probably due to the weird way SnippingTool.exe is saved in Windows.

I am using:
Windows 7 SP1 64-bit
TC 7.56

What I am trying to do:
Link the Snipping Tool in the TC button bar.

The Snipping Tool can be accessed by going to start, all programs, accessories, Snipping Tool.

I have tried setting the button bar command to:
[1] %windir%\system32\SnippingTool.exe
[2] c:\Windows\System32\cmd.exe /c snippingtool
[3] c:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Snipping Tool.lnk

All 1, 2, and 3 didn't work.

Let me know if you try it and it works for you. This is a head scratcher.
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

%WINDIR%\SysNative\SnippingTool.exe?
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

MVV wrote:%WINDIR%\SysNative\SnippingTool.exe?
Works flawlessly. Thanks!
Get Radio? Sure! - the best Internet Radio Player ever! ;)
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Read more about dumb Win64 things here.
User avatar
sergeycentral
Junior Member
Junior Member
Posts: 34
Joined: 2003-07-24, 02:48 UTC
Location: USA

Post by *sergeycentral »

Wow craziness

You guys are awesome

Thank you!
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

%WINDIR%\SysNative\SnippingTool.exe?
Note that this will not work with the 64bit version of TC 8.0 - there you can to use %windir%\system32\SnippingTool.exe

-------------------

List of Windows programs that needs to be run from sysnative under TC 32 bit:

%windir%\sysnative\SnippingTool.exe
%windir%\sysnative\SoundRecorder.exe
%windir%\sysnative\StikyNot.exe
%windir%\sysnative\WindowsAnytimeUpgradeUI.exe
%windir%\sysnative\WFS.exe
%windir%\sysnative\dfrgui.exe
%windir%\sysnative\msconfig.exe (only when running TC as administrator)
%windir%\sysnative\MdSched.exe (only when running TC as administrator)
%windir%\sysnative\rstrui.exe (only when running TC as administrator)
%windir%\sysnative\recdisc.exe (only when running TC as administrator)
%windir%\sysnative\narrator.exe (doesn't seem to work under TC 32 bit at all)

All the programs on this list works without stating path and without elevation under TC 8.0 x64.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Well, it is still possible to create junction to System32 dir and access files via that junction - it will work in all TC versions.

Code: Select all

mklink /D %WINDIR%\System64 %WINDIR%\System32
This command should be executed in elevated command prompt. It will allow to access real 64-bit System32 folder via folder link System64, so it will be possible to start apps via path like %WINDIR%\System64\SnippingTool.exe.
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

A simple workaround is to edit the user specific search-Path environment variable and append "C:\Windows\sysnative;" at the end of the Path string.
This way you can use those tools without an absolute path, regardless if you are using a 32bit or 64bit command prompt/button.

Regards
Holger
Post Reply