2JimmyTheBroker
You could try a clean wincmd.ini:
1. Type %COMMANDER_PATH%\totalcmd.exe /i="%temp%\fresh.ini" in the TC command line <ENTER>
2. Make again an em_command (the button is already there!)
3. Afterwords - before another test - you should delete fresh.ini so that the test result is not falsified
Run As administrator
Moderators: Hacker, petermad, Stefan2, white
The button alone can't provide a copy of all open tabes into the new instancetuska wrote:2JimmyTheBroker
Hmm, after clicking on the button I get a 1:1 copy of the current TC instance
-> with all active and inactive tabs in the new TC instance with admin rights.
The button has been quoted several times here in the forum - the problem will probably not be in the parameters to the button.
There must be something else (some setting in wincmd.ini?) - unfortunately I do not know why the button does not work for you.
as it only gives the new instance the path of the file on the left side
and the path to the target dir on the right side as parameters.
TC will only open all other tabs if its set to save/restore all tabs on exit/start.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
2JimmyTheBroker
To make the Tabs turn up as in the current instance of TC in the new instance of TC the settings have to be saved before restarting the new instance.
Try this:
Put this in your usercmd.ini file:
Make this button:
Since the settings are saved, you don't need to use the param=%Z%X %P %T - this was only to restart TC in the same directories as the current ones - but when they are saved to wincmd.ini with the cm_ConfigSaveSettings command there is no need for that anymore.
To make the Tabs turn up as in the current instance of TC in the new instance of TC the settings have to be saved before restarting the new instance.
Try this:
Put this in your usercmd.ini file:
Code: Select all
[em_newcommander]
cmd=*%COMMANDER_EXE% /N
Code: Select all
TOTALCMD#BAR#DATA
cm_ConfigSaveSettings,em_newcommander,cm_Exit
%COMMANDER_EXE%
Open as Administrator with saved settings
-1
The disadvantage of this is that all changes you have made in TC will be saved. If you always have all four options in "Configuration" -> "Options" -> "Operation" -> "Save on exit" enabled, you will not feel any difference though. But if you have disabled saving of for example Directories and/or Panels, I cannot recommend using this button, if you don't want those things saved.To make the button:
1. Mark the green text above (including TOTALCMD#BAR#DATA in the first line and -1 in the last line).
2. Copy it to the ClipBoard (Ctri+C).
3. Right click on TC's buttonbar and choose "Paste".
Since the settings are saved, you don't need to use the param=%Z%X %P %T - this was only to restart TC in the same directories as the current ones - but when they are saved to wincmd.ini with the cm_ConfigSaveSettings command there is no need for that anymore.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- JimmyTheBroker
- Member
- Posts: 179
- Joined: 2017-06-07, 05:22 UTC
Hmmm,
Whenever I close TC and re-open it (use the red cross in the top right hand corner), it always re-opens to the original tabs.
"Configuration -> Options -> Operation -> Save on Exit -> Directories"
Save on exit:
Directories[ticked]
Panels (brief/full, etc.)[ticked]
Old command lines[ticked]
Directory history[ticked]
Whenever I close TC and re-open it (use the red cross in the top right hand corner), it always re-opens to the original tabs.
"Configuration -> Options -> Operation -> Save on Exit -> Directories"
Save on exit:
Directories[ticked]
Panels (brief/full, etc.)[ticked]
Old command lines[ticked]
Directory history[ticked]
I finally get notifications from emails again!!!
So happy!
So happy!
- JimmyTheBroker
- Member
- Posts: 179
- Joined: 2017-06-07, 05:22 UTC
I think is a bit circular.. I cant save the tab directories because I don't have the write permissions, but I need the write permissions to save the tab directories...
I generally have TC in the default directory:
C:\Program Files (x86)\totalcmd
Pressing the "Original Button" I get the error message:
Everything seems to work as soon as I have TC in any other directory.
However the whole point of making the "original button", was to circumvent moving TC from the default directory to somewhere else to allow write privileges.
(By original button i mean: cm_ConfigSaveSettings, em_Run-as-Admin, cm_Exit)
I generally have TC in the default directory:
C:\Program Files (x86)\totalcmd
Pressing the "Original Button" I get the error message:
- Error: Cannot write C:\Program Files (x86)\totalcmd\default.bar!
Please remove the write protection!
Everything seems to work as soon as I have TC in any other directory.
However the whole point of making the "original button", was to circumvent moving TC from the default directory to somewhere else to allow write privileges.
(By original button i mean: cm_ConfigSaveSettings, em_Run-as-Admin, cm_Exit)
I finally get notifications from emails again!!!
So happy!
So happy!
The forum is full of such error messages regarding write permissions (search the forum for: write protection).JimmyTheBroker wrote:... write protection! ...
Everything seems to work as soon as I have TC in any other directory.
The logical conclusion is that you set up TC in a place where you have write access.
One solution would be to use TC portable and move the installation to a place where you have write access, eg D:\TC, I:\TC, etc.
The conversion would require an effort once, but I think this effort is worthwhile.
All of the solutions mentioned in this thread (with appropriate settings) would work fine then.
You could use the portable TC-version from the PC, e.g. also on an USB stick.
Subsequently, differences between the portable TC version on PC and USB stick could be adjusted, for example, with asymmetrical synchronization.