How to change the current working directory of FS plugin?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
pawelsky
Junior Member
Junior Member
Posts: 15
Joined: 2006-01-07, 23:33 UTC
Location: Poland

How to change the current working directory of FS plugin?

Post by *pawelsky »

Is there a way to change the current working directory of the FS plugin from within the plugin code?

E.g. let's say a have a plugin that connects to some external host, and every time the host is disconnected I wan't the plugin to retrn to the root directory where I display the list of available hosts.
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

I am not sure but maybe you can send a message to TC with one of these messages:
cm_GoToRoot
cm_GoToParent
cm_GoToDir

Check this thread to find out how to send the message to TC
http://ghisler.ch/board/viewtopic.php?t=8691&highlight=sendmessage
______________________
David Jorge
Personal License #117854
Post Reply