Savepath=1 in wincmd.ini not working
Moderators: white, Hacker, petermad, Stefan2
-
- Junior Member
- Posts: 6
- Joined: 2013-11-01, 16:31 UTC
Savepath=1 in wincmd.ini not working
When logging in TC has forgotten the last Path (the directories on the left and on the right, respectively, in the TC split screen).
My wincmd.ini file includes the line Savepath=1 in the chapter Configuration.
This problem has popped up in the last months, in which I upgraded Windows 8.1 to Windows 10 and installed the latest TC upgrade 8.52a.
What is the solution?
My wincmd.ini file includes the line Savepath=1 in the chapter Configuration.
This problem has popped up in the last months, in which I upgraded Windows 8.1 to Windows 10 and installed the latest TC upgrade 8.52a.
What is the solution?
Re: Savepath=1 in wincmd.ini not working
This wincmd.ini is the same as listed under Help->About?Paul Hofstee wrote:My wincmd.ini file includes the line Savepath=1 in the chapter Configuration.
Another possible reason:
Configuration -> Refresh: Do not remember these drive on exit (Noreread2)
Regards
Holger
Partially I have the same problem:
Example 1:
Left panel: D:\Daten\EDV\Access\*.*
Right panel: I:\Bilder\Deutschland\*.*
Result after restart:
Left panel: D:\Daten\
Right panel: I:\Bilder\
Example 2:
Left panel: D:\Daten\OneNote\Notizbuch\*.*
Right panel: I:\Bilder\Blumen\*.*
Result after restart:
Left panel: D:\Daten\OneNote\Notizbuch\*.*
Right panel: I:\Bilder\*.*
Example 3:
Left panel: I:\Videos\*.*
Right panel: J:\TomTom\*.*
In this case additional: Save settings <ENTER>
Result after restart:
Left panel: D:\Daten\OneNote\Notizbuch\*.*
Right panel: I:\Bilder\*.*
But in "x"-Cases after restart left and right panel shows the folders
correct after restart of TC. Strange.
wincmd.ini - configuration:
Savepath=1
SaveHistory=1
Savepanels=1
UseIniInProgramDir=7 (TC portabel)
wincmd.ini - left:
path=D:\Daten\
wincmd.ini - right:
path=I:\Bilder\
Remark: Despite of configuration "left" and "right" after two TC-restarts
the results were those shown in exemple 3. Only after third TC-restart,
the result was D:\Daten <> I:\Bilder.
I think after "Configuration > Save settings" the path of the panel
(left or right) is somethimes not updatet in wincmd.ini in section left or right.
(After saving I looked in the wincmd.ini for checking).
But I don't know what could be the cause for preventing the savings.
(Write permissions available and sometimes saving is possible).
Windows 10 Pro
Regards,
Karl
Example 1:
Left panel: D:\Daten\EDV\Access\*.*
Right panel: I:\Bilder\Deutschland\*.*
Result after restart:
Left panel: D:\Daten\
Right panel: I:\Bilder\
Example 2:
Left panel: D:\Daten\OneNote\Notizbuch\*.*
Right panel: I:\Bilder\Blumen\*.*
Result after restart:
Left panel: D:\Daten\OneNote\Notizbuch\*.*
Right panel: I:\Bilder\*.*
Example 3:
Left panel: I:\Videos\*.*
Right panel: J:\TomTom\*.*
In this case additional: Save settings <ENTER>
Result after restart:
Left panel: D:\Daten\OneNote\Notizbuch\*.*
Right panel: I:\Bilder\*.*
But in "x"-Cases after restart left and right panel shows the folders
correct after restart of TC. Strange.
wincmd.ini - configuration:
Savepath=1
SaveHistory=1
Savepanels=1
UseIniInProgramDir=7 (TC portabel)
wincmd.ini - left:
path=D:\Daten\
wincmd.ini - right:
path=I:\Bilder\
Remark: Despite of configuration "left" and "right" after two TC-restarts
the results were those shown in exemple 3. Only after third TC-restart,
the result was D:\Daten <> I:\Bilder.
I think after "Configuration > Save settings" the path of the panel
(left or right) is somethimes not updatet in wincmd.ini in section left or right.
(After saving I looked in the wincmd.ini for checking).
But I don't know what could be the cause for preventing the savings.
(Write permissions available and sometimes saving is possible).
Windows 10 Pro
Regards,
Karl
Another example:
Sorry, please ignore the following lines!
Path of button in right panel was stored, but colored folders didn't exist.
Section left: path stored OK in wincmd.ini
Section right: path stored OK in wincmd.ini (path=D:\Daten\Migration\Windows7\Win7-Backup\)
After restart of TC:
left panel: OK
right panel: Only D:\Daten\Migration\ is shown.
Regards
Karl
Sorry, please ignore the following lines!
Path of button in right panel was stored, but colored folders didn't exist.
Section left: path stored OK in wincmd.ini
Section right: path stored OK in wincmd.ini (path=D:\Daten\Migration\Windows7\Win7-Backup\)
After restart of TC:
left panel: OK
right panel: Only D:\Daten\Migration\ is shown.
Regards
Karl
After more than 10 trials with a fresh wincmd.ini (64-Bit)
and addition of Savepath=1 under Configuration
each restart of TC showed the correct path in both panels.
On the other hand, I still determined that in my "normal" wincmd.ini
path for left and right panel were not always updated.
Regards,
Karl
Code: Select all
%COMMANDER_PATH%\Explorer.exe /N /I="%temp%\leere.ini"
each restart of TC showed the correct path in both panels.
On the other hand, I still determined that in my "normal" wincmd.ini
path for left and right panel were not always updated.
Regards,
Karl
Could the problem be in connection with TAB's?
After further trials with a fresh wincmd.ini (32-Bit)
I found something interesting.
o) If you choose a path by dropdown-field for drive: After restart of TC path in both panels are shown correctly.
o) If you make a TAB with Ctrl + T (I did it with "Locked, but directory changes allowed") in both panels
and choose afterwords a different path in both panels, i.e.
a) left panel - TAB: D:\Daten
b) left panel - different path choosen: D:\Daten\Programme
c) right panel - TAB: I:\Windows
d) right panel - different path choosen: I:\Windows\Windows10
After restart of TC path in both panels are shown wrong *)!
*) Edit: ... because even after "Configuration - Save Settings" the actual path in both panels
will not be stored in wincmd.ini under section "left" and "right".
Regards
Karl
Code: Select all
%COMMANDER_PATH%\Totalcmd.exe /N /I="%temp%\leere.ini"
o) If you choose a path by dropdown-field for drive: After restart of TC path in both panels are shown correctly.
o) If you make a TAB with Ctrl + T (I did it with "Locked, but directory changes allowed") in both panels
and choose afterwords a different path in both panels, i.e.
a) left panel - TAB: D:\Daten
b) left panel - different path choosen: D:\Daten\Programme
c) right panel - TAB: I:\Windows
d) right panel - different path choosen: I:\Windows\Windows10
After restart of TC path in both panels are shown wrong *)!
*) Edit: ... because even after "Configuration - Save Settings" the actual path in both panels
will not be stored in wincmd.ini under section "left" and "right".
Regards
Karl
Last edited by tuska on 2016-03-21, 12:28 UTC, edited 1 time in total.
For me the issue is still open under TC 9.0 beta1 (x32+x64)
Please see:
http://ghisler.ch/board/viewtopic.php?p=306216#306216
Please see:
http://ghisler.ch/board/viewtopic.php?p=306216#306216
I found something interesting...
- ghisler(Author)
- Site Admin
- Posts: 48079
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Tabs are not stored under [left] and [right] but [lefttabs] and [righttabs].
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thank you for this hint.
But based on this statement from thread-starter:
Steps to reproduce (with locked TAB):
1) start with fresh wincmd.ini (x64) - left und right panel ... c:\*.* is shown
%COMMANDER_PATH%\Totalcmd64.exe /N /I="%COMMANDER_PATH%\Tests\TC_leere.ini"
2) left panel: enter folder "c:\Windows\"
3) Ctrl + T (Show - New Folder Tab), right-click on Tab: "Locked, but directory changes allowed"
4) enter folder "cursors" => c:\Windows\Cursors\ is shown
5) Please note the following: Left panel = c:\Windows\Cursors\ and right panel = c:\*.*
6) ALT + F4 Close TC
7) start with fresh wincmd.ini - with the same .ini as before(!)
%COMMANDER_PATH%\Totalcmd64.exe /N /I="%COMMANDER_PATH%\Tests\TC_leere.ini"
8 ) After restarting TC in left panel c:\Windows\ is shown instead of c:\Windows\Cursors\ (!)
9) Content of TC_leere.iniSteps to reproduce (with "Directory hotlist"):
1) delete "TC_leere.ini"
2) start with fresh wincmd.ini (x64) - left und right panel ... c:\*.* is shown
%COMMANDER_PATH%\Totalcmd64.exe /N /I="%COMMANDER_PATH%\Tests\TC_leere.ini"
3) left panel: enter folder "c:\Windows\"
4) Ctrl + T (Show - New Folder Tab), right-click on Tab: "Locked, but directory changes allowed"
5) enter folder "cursors" => c:\Windows\Cursors\ is shown in left panel
6) right panel: enter folder "c:\Windows\"
7) enter folder "debug" => c:\Windows\debug\ is shown in right panel
8 ) Ctrl + T (Show - New Folder Tab), right-click on Tab: "Locked, but directory changes allowed"
9) goto left panel, Ctrl + d = "Add current dir" - title: Cursors, tick "Also save the target dir"
10) right panel: enter folder "WIA", left panel: goto c:\Windows\
11) Please note the following: Left panel = c:\Windows\ and right panel = c:\Windows\debug\WIA\ is shown
12) goto left panel, Ctrl + d: Click on "Cursors"
13) Please note: Left panel c:\Windows\Cursors\ is shown, right panel: c:\Windows\debug\ is shown
14) ALT + F4 Close TC (Files - Quit)
15) start with fresh wincmd.ini - with the same .ini as before(!)
%COMMANDER_PATH%\Totalcmd64.exe /N /I="%COMMANDER_PATH%\Tests\TC_leere.ini"
16) After restarting TC in left panel c:\Windows\ is shown instead of c:\Windows\Cursors\ (!),
right panel: c:\Windows\debug\ is shown (correct)
Change directory menu says: cd c:\Windows\Cursors, Target path: c:\Windows\debug\
17) Content of TC_leere.ini
====================
PS:
If you choose a path by dropdown-field for drive and enter folders without TAB's:
After restart of TC path in both panels are shown correctly.
Kind regards,
Karl
But based on this statement from thread-starter:
the problem furthermore persists.http://ghisler.ch/board/viewtopic.php?p=306172#306172
When logging in TC has forgotten the last Path (the directories on the left and on the right,
respectively, in the TC split screen).
My wincmd.ini file includes the line Savepath=1 in the chapter Configuration.
Steps to reproduce (with locked TAB):
1) start with fresh wincmd.ini (x64) - left und right panel ... c:\*.* is shown
%COMMANDER_PATH%\Totalcmd64.exe /N /I="%COMMANDER_PATH%\Tests\TC_leere.ini"
2) left panel: enter folder "c:\Windows\"
3) Ctrl + T (Show - New Folder Tab), right-click on Tab: "Locked, but directory changes allowed"
4) enter folder "cursors" => c:\Windows\Cursors\ is shown
5) Please note the following: Left panel = c:\Windows\Cursors\ and right panel = c:\*.*
6) ALT + F4 Close TC
7) start with fresh wincmd.ini - with the same .ini as before(!)
%COMMANDER_PATH%\Totalcmd64.exe /N /I="%COMMANDER_PATH%\Tests\TC_leere.ini"
8 ) After restarting TC in left panel c:\Windows\ is shown instead of c:\Windows\Cursors\ (!)
9) Content of TC_leere.ini
Code: Select all
[Configuration]
UseNewDefFont=1
firstmnu=2618
SeparateTree=0
PanelsVertical=0
[FileSystemPlugins64]
$checksum$=3014672
[left]
path=c:\Windows\
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[right]
path=c:\
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[lefttabs]
0_path=c:\Windows\
0_options=1|0|0|0|0|0|0|||10001
activetab=1
activelocked=2
activecaption=Windows
[RightHistory]
0=c:\
[LeftHistory]
0=c:\Windows\Cursors\
1=c:\Windows\ #11,Cursors
2=c:\ #11,Windows
3=d:\
4=c:\
1) delete "TC_leere.ini"
2) start with fresh wincmd.ini (x64) - left und right panel ... c:\*.* is shown
%COMMANDER_PATH%\Totalcmd64.exe /N /I="%COMMANDER_PATH%\Tests\TC_leere.ini"
3) left panel: enter folder "c:\Windows\"
4) Ctrl + T (Show - New Folder Tab), right-click on Tab: "Locked, but directory changes allowed"
5) enter folder "cursors" => c:\Windows\Cursors\ is shown in left panel
6) right panel: enter folder "c:\Windows\"
7) enter folder "debug" => c:\Windows\debug\ is shown in right panel
8 ) Ctrl + T (Show - New Folder Tab), right-click on Tab: "Locked, but directory changes allowed"
9) goto left panel, Ctrl + d = "Add current dir" - title: Cursors, tick "Also save the target dir"
10) right panel: enter folder "WIA", left panel: goto c:\Windows\
11) Please note the following: Left panel = c:\Windows\ and right panel = c:\Windows\debug\WIA\ is shown
12) goto left panel, Ctrl + d: Click on "Cursors"
13) Please note: Left panel c:\Windows\Cursors\ is shown, right panel: c:\Windows\debug\ is shown
14) ALT + F4 Close TC (Files - Quit)
15) start with fresh wincmd.ini - with the same .ini as before(!)
%COMMANDER_PATH%\Totalcmd64.exe /N /I="%COMMANDER_PATH%\Tests\TC_leere.ini"
16) After restarting TC in left panel c:\Windows\ is shown instead of c:\Windows\Cursors\ (!),
right panel: c:\Windows\debug\ is shown (correct)
Change directory menu says: cd c:\Windows\Cursors, Target path: c:\Windows\debug\
17) Content of TC_leere.ini
Code: Select all
[Configuration]
UseNewDefFont=1
firstmnu=2618
SeparateTree=0
PanelsVertical=0
[FileSystemPlugins64]
$checksum$=3014672
[DirMenu]
menu1=Cursors
cmd1=cd c:\Windows\Cursors
path1=c:\Windows\debug\
[left]
path=c:\Windows\
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[right]
path=c:\Windows\debug\
ViewMode=10001
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[1920x1200 (10x20)]
MenuChangeX=672
MenuChangeY=536
MenuChangeDX=593
MenuChangeDY=441
MenuChangeMax=0
[lefttabs]
0_path=c:\Windows\
0_options=1|0|0|0|0|0|0|||10001
activetab=1
activelocked=2
[righttabs]
0_path=c:\Windows\debug\
0_options=1|0|0|0|0|0|0|||10001
activetab=1
activelocked=2
[RightHistory]
0=c:\Windows\debug\
1=c:\Windows\debug\WIA\
2=c:\Windows\debug\ #1,WIA
3=c:\Windows\ #12,debug
4=c:\ #11,Windows
[LeftHistory]
0=c:\Windows\
1=c:\Windows\Cursors\
2=c:\Windows\ #11,Cursors
3=c:\ #11,Windows
PS:
If you choose a path by dropdown-field for drive and enter folders without TAB's:
After restart of TC path in both panels are shown correctly.
Kind regards,
Karl
Re: Savepath=1 in wincmd.ini not working
As I have learned in the german forum it works as follows regarding locked TAB's - quote from german forum:Paul Hofstee wrote:When logging in TC has forgotten the last Path (the directories on the left and on the right, respectively, in the TC split screen).
My wincmd.ini file includes the line Savepath=1 in the chapter Configuration.
This problem has popped up in the last months, in which I upgraded Windows 8.1 to Windows 10 and installed the latest TC upgrade 8.52a.
What is the solution?
http://ghisler.ch/board/viewtopic.php?p=311071&sid=9f763c4f7512819422ab28c412daedc1#311071
After a restart there is always access to the basis-directory of the locked TAB.
The home directory of the locked tab has an absolute priority if the tab is reactivated
(which is also the case when TC is restarted).
Quote from: Help (F1) - search for 'locked'...
(*) New in TC 9.0Locked, but directory changes allowed
Locks a tab. Reverts to the saved dir when switching to a different tab and back,
or when clicking the root button, or when clicking on the tab header (*) when the tab is already
active. Useful e.g. to save the root of a project.
Savepath=1 in the chapter Configuration should work if you don't use locked TAB's.
Regards,
Karl
I made a suggestion in the german forum (SavepathAndSavepanels=1):
http://ghisler.ch/board/viewtopic.php?p=311222#311222
to get back path and panel-views after exit and restart.
http://ghisler.ch/board/viewtopic.php?p=311222#311222
to get back path and panel-views after exit and restart.
2Paul Hofstee
Some time ago I made a new proposal: http://ghisler.ch/board/viewtopic.php?t=44739
There was a discussion, but I can not imagine that there is still an implementation.
For me the topic is done.
Some time ago I made a new proposal: http://ghisler.ch/board/viewtopic.php?t=44739
There was a discussion, but I can not imagine that there is still an implementation.
For me the topic is done.