midnight commander internal cd in scripts



Is there a way to cd into a folder (be it ssh, ftp or local folders)
from an existing instance of midnight commander through a shell script?

Example:
Inside an open MC instance, in my home folder, there is a file called "somessh.sh". When I hit enter on this executable, I want mc to cd into the directory I specify inside the file (E.g. ~/Downloads)
as if I'm using the cd in the mini-command line or via quick cd.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]