mirror of https://github.com/quasar/Quasar.git
Open remote shell from file manager on correct drive (Fixes #822)
This commit is contained in:
parent
8a481096f3
commit
b9da8df8fe
|
@ -428,7 +428,8 @@ private void openDirectoryToolStripMenuItem_Click(object sender, EventArgs e)
|
|||
FrmRemoteShell frmRs = FrmRemoteShell.CreateNewOrGetExisting(_connectClient);
|
||||
frmRs.Show();
|
||||
frmRs.Focus();
|
||||
frmRs.RemoteShellHandler.SendCommand($"cd \"{path}\"");
|
||||
var driveLetter = Path.GetPathRoot(path);
|
||||
frmRs.RemoteShellHandler.SendCommand($"{driveLetter.Remove(driveLetter.Length - 1)} && cd \"{path}\"");
|
||||
}
|
||||
|
||||
private void btnOpenDLFolder_Click(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in New Issue