Author Topic: multiple instances - username in title  (Read 120 times)

gabor

  • Newbie
  • *
  • Posts: 4
    • View Profile
multiple instances - username in title
« on: August 19, 2018, 22:43:02 »
Hello
I often run multiple instances with different user accounts. I would be great to display the run-as user in the application title bar as it is shown in [Admin] mode.
Thanks in advance
Gabor

Mathias (Author)

  • Administrator
  • Elite Member
  • *****
  • Posts: 3232
    • View Profile
    • Multi Commander
Re: multiple instances - username in title
« Reply #1 on: August 24, 2018, 14:49:23 »
As a workaround for now you can set a text in the Title by from command line with -T  eg  -T=Moon

So it should be possible to write a bat or powershell script that will set the current username to that parameters when starting MC.



gabor

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: multiple instances - username in title
« Reply #2 on: September 13, 2018, 21:01:56 »
Nice workaround
Thanks

Code: [Select]
MultiCommander.bat
start MultiCommander.exe -T=%USERNAME%