Suggestion: Start in last opened dirs only if they are local

English support forum

Moderators: white, Hacker, petermad, Stefan2

hatecaps
Junior Member
Junior Member
Posts: 6
Joined: 2004-09-08, 09:25 UTC

Suggestion: Start in last opened dirs only if they are local

Post by *hatecaps »

Hi all,

the idea of opening up the TC with thw two shells starting where they where when the TC was last closed is great ! I love it, but not when I've closed the TC with one of the shells (or both) showing a drive/directory on another machine, and then open TC with that machine turned off.

I would really like it if it was possible to set up the TC to only go to the last positions if they are local, just as an option of course.

take care all
hatecaps

[mod]
I have changed the thread title to make it more meaningful.

Lefteous (Moderator) [/mod]
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-11, 13:13 UTC, edited 1 time in total.
hatecaps
Junior Member
Junior Member
Posts: 6
Joined: 2004-09-08, 09:25 UTC

Post by *hatecaps »

HI nofie, thank you very much, didn't know that one :lol:

but what about the \\machine\resource ? how to exclude them from the reread ?

take care
hatecaps
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Insert in wincmd.ini
[Configuration]
Noreread=ABN\
I switched to Linux, bye and thanks for all the fish!
hatecaps
Junior Member
Junior Member
Posts: 6
Joined: 2004-09-08, 09:25 UTC

Post by *hatecaps »

hmm, doesn't work. I didn't have any wincmd.ini file before, though, does that mean anything ? (and why isn't it called totalcmd.ini now ?)
User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

Hi Harecaps,
Try
Help >> About
to find where your wincmd.ini is located... :D
Paul
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
hatecaps
Junior Member
Junior Member
Posts: 6
Joined: 2004-09-08, 09:25 UTC

Post by *hatecaps »

Salut Paul, that helped :lol:
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

Try add

Noreread=C\

in wincmd.ini. Then switch left panel to Network Neightborhood and restart Totalcmd. Then left panel is still Network Neightborhood. It's the same when I try C driver.
Did I misunderstand something?
hatecaps
Junior Member
Junior Member
Posts: 6
Joined: 2004-09-08, 09:25 UTC

Post by *hatecaps »

Even though I'm new here, I don't think it's a good idea to exclude the c-drive. The TC has to start somewhere, right ? Other than that it should work, it does here :)
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

@hatecaps
It's just a test. :wink: But why doesn't it work in this case?
And I do want to locate in somewhere other than Network Neightborhood after restarting Totalcmd for some reason. Can I do this by "Noreread=\"?
hatecaps
Junior Member
Junior Member
Posts: 6
Joined: 2004-09-08, 09:25 UTC

Post by *hatecaps »

you should be able to. My guess is that the TC ignores the NoReRead when C is listed. Have you tried it without adding C but only AB\ ?
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

I tried "Noreread=\" instead coz I don't have A/B driver, it didn't work.
I guess the reason is that I've installed some WFX plugins there.
Wonder if there is any other way to avoid this location at startup.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

hatecaps wrote: (and why isn't it called totalcmd.ini now ?)
It's for compatibility reasons. There are many plugins etc. who search for wincmd.ini. If there is the name changed all author had to update their plugins. Or the plugins would not work further.

2Raymond

The noreread option is for speed reasons implemented. If TC starts with a network drive in one pane while this drive is momentarily not available it takes few minutes sometimes before Windows reports it to TC. Until that very moment TC is frozen. To prevent this there is the noreread feature - TC does not try to connect to drives that mentioned here. The' \' stands for the whole network - although it is described as 'network neighbourhood' in TC help. So each path beginning with \\server\netshare is simply not opened in the window, even if its explicit saved, but instead the C:\ drive.

If you have opened the 'network neighbourhood' in one pane there's no speed problem at all.

So if you don't like to open the 'Network neighbourhood' at start there is a workaround:

Open some different directories in both windows.
Press [Alt]+[o] for configuration and then [v] for save settings.
Then disable 'directories' in Configuration->Options->Operation:Save on exit.

This way next time TC will open the directories you've saved with 'save settings' at start

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

Sheepdog wrote:So if you don't like to open the 'Network neighbourhood' at start there is a workaround:

Open some different directories in both windows.
Press [Alt]+[o] for configuration and then [v] for save settings.
Then disable 'directories' in Configuration->Options->Operation:Save on exit.

This way next time TC will open the directories you've saved with 'save settings' at start
This way would lose the feature that at startup I will be in the place last time I were. I only specifically want to avoid "Network Neightbourhood".
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Raymond wrote:This way would lose the feature that at startup I will be in the place last time I were. I only specifically want to avoid "Network Neightbourhood".
Pity. If you set in wincmd.ini

Code: Select all

[configuration]
allowed=abcdefghijklmnopqrstuvwxyz
and not add '\' you will not see the 'network neighbourhood' at all but only the plugins. But I guess that is not what you like.

So I have no idea to get the desired behaviour.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply