Opening a new instance of TC with /O from an application with other rights
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Opening a new instance of TC with /O from an application with other rights
Thanks, I will fix the help. It's correct in history.txt, though...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Opening a new instance of TC with /O from an application with other rights
2ghisler(Author)
It's necessary that TC from other programs like ZxM/USR is opened for the first time!
You can add /O1 if you don't want to change the behavior for /O0.
Please fix it! Disabling the launch of the first instance was not requested.Help wrote:/O 0 Never open a new instance in any case. If none is running, do nothing.
It's necessary that TC from other programs like ZxM/USR is opened for the first time!
You can add /O1 if you don't want to change the behavior for /O0.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Opening a new instance of TC with /O from an application with other rights
/O0 means "Never open a new instance in any case, and that's exactly what it does.
Why not just use /O instead?
Why not just use /O instead?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Opening a new instance of TC with /O from an application with other rights
2ghisler(Author)
The essence of the request was not to open the second instance, etc. I wouldn't interpret the new as the original (first), since the new must be preceded by some existing ("old").
The second instance will be opened with /O, but only one needs to be opened — the first one.
The essence of the request was not to open the second instance, etc. I wouldn't interpret the new as the original (first), since the new must be preceded by some existing ("old").
The second instance will be opened with /O, but only one needs to be opened — the first one.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Opening a new instance of TC with /O from an application with other rights
Sorry, I don't understand your explanation. Maybe you can give an example?
Here is how it works now:
/O
TC already running -> path is opened in that instance
TC not running -> new instance is opened with path
/O0
TC already running -> path is opened in that instance
TC not running -> nothing happens
Here is how it works now:
/O
TC already running -> path is opened in that instance
TC not running -> new instance is opened with path
/O0
TC already running -> path is opened in that instance
TC not running -> nothing happens
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Opening a new instance of TC with /O from an application with other rights
/O1
TC already running -> path is opened in that instance
TC not running -> only the first instance is started and the path is opened
You forgot to specify the main problem — when running with different rights, a new instance will open.ghisler(Author) wrote: 2023-10-04, 12:36 UTC Here is how it works now:
/O
TC already running -> path is opened in that instance
Again, the new instance does not start if the first one is started with different rights.ghisler(Author) wrote: 2023-10-04, 12:36 UTC /O0
TC already running -> path is opened in that instance
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Opening a new instance of TC with /O from an application with other rights
So your report is about instances with different rights? You can't pass paths to instances with higher rights because Windows doesn't allow it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Opening a new instance of TC with /O from an application with other rights
I didn't understand why to pass paths to existing instances if the request concerns the creation of a new first instance (with the appropriate command line)?
Overquoting is evil! 👎
Re: Opening a new instance of TC with /O from an application with other rights
2ghisler(Author)
Will you answer my question?
Will you answer my question?
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Opening a new instance of TC with /O from an application with other rights
Sorry but I still don't understand what your point is.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Opening a new instance of TC with /O from an application with other rights
You asked me to give an example. I brought it by analogy with yours.
What exactly is unclear in this example?Fla$her wrote: 2023-10-04, 12:45 UTC/O1
TC already running -> path is opened in that instance
TC not running -> only the first instance is started and the path is opened
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Opening a new instance of TC with /O from an application with other rights
But that's exactly what /O1 already does!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Opening a new instance of TC with /O from an application with other rights
And in this case, the second instance will not open if the level of rights doesn't match?
Overquoting is evil! 👎