How to launch this from a button bar icon?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

How to launch this from a button bar icon?

Post by *sidefx88 »

Hi!

I use a lot the tool "LPKSETUP" which is included in several versions of Windows to change the system language.

So, I decided to shortcut launching it from the TC button bar. I've created the button, but this exe file is so slippery.

If I hit the button in TC I get an error "Windows can't find the file...", but if I launch it from the Run... window (Win + R) it works fine.

I've tried to create the button on TC using "lpksetup", "lpksetup.exe", both with and without admin rights. Nothing seems to work :(

Any idea to solve this?

Thanks!
I Love Total Commander!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6487
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: How to launch this from a button bar icon?

Post by *Horst.Epp »

No problem here.
Just drag the exe from C:\Windows\System32\lpksetup.exe onto the button bar
and it works without any modification.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: How to launch this from a button bar icon?

Post by *DrShark »

For me on 32-bit Vista it also works fine with a button:

Code: Select all

TOTALCMD#BAR#DATA
lpksetup.exe

lpksetup.exe



-1
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Re: How to launch this from a button bar icon?

Post by *sidefx88 »

The problem is that in my Windows 10 the lpksetup.exe is not located in C:\Windows\System32\lpksetup.exe.

I've tried in 6 different computers (all Windows 10 Pro x64, some are 15063, some are 17134, some are 1803) and this file is located in different locations on each PC, for example:

c:\Windows\WinSxS\amd64_microsoft-windows-lpksetup_31bf3856ad364e35_10.0.15063.0_none_326d3a42a5473084\ or
c:\Windows\WinSxS\amd64_microsoft-windows-lpksetup_31bf3856ad364e35_10.0.17134.1_none_06d9ed60d5a2dd06\

As I use TC in portable mode on a pendrive (UseIniInProgramDir=7), I'm not able to launch lpksetup.exe "universally" on every PC because this file seems to locate on different paths according to the Windows version.

Maybe I must write a script, but I have no idea how to do that for this case :(

The strange thing is: if I run LPKSETUP.exe from the Run... (Win + R) panel it works fine on every computer.

Any further help?

Thanks
I Love Total Commander!
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: How to launch this from a button bar icon?

Post by *HolgerK »

2sidefx88

Are you using a 32 Bit Total Commander version?
-> Windows x64: Explorer vs TC: Content of System32 different

HTH
Holger
Make our planet great again
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Re: How to launch this from a button bar icon?

Post by *sidefx88 »

I've forgot to mention that! Yes, my TC is 32 bit.

I will check the link you posted.
I Love Total Commander!
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: How to launch this from a button bar icon?

Post by *tuska »

Code: Select all

TOTALCMD#BAR#DATA
C:\Tools\Everything\Everything.exe -s wfn:"C:\windows\*\lpksetup.exe"

C:\Tools\Everything\Everything.exe
C:\Tools\Everything\Everything.exe -s wfn:"C:\windows\*\lpksetup.exe"|-s <text> Set the search || wfn: Match the whole filename|https://ghisler.ch/board/viewtopic.php?f=3&t=52261|https://www.voidtools.com/support/everything/command_line_options/#-s


-1

Windows 10 Pro (x64) Version 1809 (Build 17763.404) | TC 9.22a x64/x86
☑ 'Everything'  | Everything - Version 1.4.1.939 (x64) | How to use TC <=> Everything
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Re: How to launch this from a button bar icon?

Post by *sidefx88 »

2tuska:

Thanks, not bad! I can launch it from the Everything results (which I have integrated on a TC subfolder.

I think I will use this script until I found something more straight...
I Love Total Commander!
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: How to launch this from a button bar icon?

Post by *tuska »

2sidefx88
You can also start lpksetup.exe directly in Everything (double click in result list).
User avatar
petermad
Power Member
Power Member
Posts: 14806
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How to launch this from a button bar icon?

Post by *petermad »

2sidefx88
Run C:\Windows\Sysnative\lpksetup.exe in stead of C:\Windows\System32\lpksetup.exe
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
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Re: How to launch this from a button bar icon?

Post by *sidefx88 »

2petermad:

Thanks a lot! That worked fine and straight!

:)
I Love Total Commander!
Post Reply