opening a program with specific language, but with either CMD or batch


  1. Posts : 191
    10, server 2016, server2012
       #1

    opening a program with specific language, but with either CMD or batch


    hard to explain as im not sure if thats what this is

    I have locale in windows set to a non-english due to incompatibility with some legacy software language issue, but language remains in english. this causes many software/.msi to open in that locale language if another language is supported, which in itself is fine as I have set in context menu (C:\WINDOWS\AppPatch\AppLoc.exe "%1" "/L1033"). where L1033 means to ask it open in English.

    but issue im facing now is, say I have a program C:\folder\abc.exe but I am not running this program with
    R-click -> context menu -> Eng Apploc

    but rather running it from a shortcut from a dock, hence it defaults to the locale language rather than english.

    if I was to setup a batch file and have it use english locale to open ABC.exe, and then tied the batch shortcut to the dock it'd be solved, but what is the command for this? running ABC.exe in junction with Apploc.exe and with L1033 im not sure what it would look like

    pls help
      My Computer


  2. Posts : 191
    10, server 2016, server2012
    Thread Starter
       #2

    bump.. anyone? any clues on where to start would be appreciated, thanks.
      My Computer


  3. Posts : 380
    Windows 10
       #3

    I forget how this is done. However I learned about these features while taking Chinese class.

    1. There are apps/programs settings built into computers/Windows ( etc ) that enables you to switch between languages
    via the keyboard input. In fact you can assign whichever button you want to do the switch and it will allow you to type in that
    language rather then whatever the computer is assigned for.

    2. Why not make a shortcut? Is it an app or program? It sounds like you need to make a shortcut for an windows-app
    which usually does not allow to place a shortcut on the desktop and then do a right-click to open it. You need to figure
    out how to place app shortcuts on the desktop rather then right-clicking from the drop-down menu. Windows "apps"
    are not Windows "programs". That is my assumption at the moment.

    3. Beyond that maybe you could make another account just to use that program or even upgrade your account to administrator ( of course it will still not be the admin )
      My Computer


  4. Posts : 844
    Windows 7
       #4

    AppLoc.exe is obsolete, and doesn't work on W10 or later.
    You should look at Locale-Emulator, and LEShortcutCreator to make a wrapper for your app.
      My Computer


  5. Posts : 191
    10, server 2016, server2012
    Thread Starter
       #5

    garlin said:
    AppLoc.exe is obsolete, and doesn't work on W10 or later.
    You should look at Locale-Emulator, and LEShortcutCreator to make a wrapper for your app.
    the locale emulator seems to what I have currently setup, right click -> context menu -> choose eng or w/e language I wish to choose

    but what I'm looking for is if the program is run from a shortcut set in a dock. if I was to create a CMD to run said shortcut with said language, how would the CMD commandline look like?
      My Computer


  6. Posts : 844
    Windows 7
       #6

    If you look at LEShortcutCreator, the author talks about how to make a separate instance of LE run per app. Shortcuts in the end, run a command line so have the tool create one as a working example for you.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 19:07.
Find Us




Windows 10 Forums