diff --git a/Quasar.Server/Forms/FrmFileManager.cs b/Quasar.Server/Forms/FrmFileManager.cs index 649e42f7..5570b2e1 100644 --- a/Quasar.Server/Forms/FrmFileManager.cs +++ b/Quasar.Server/Forms/FrmFileManager.cs @@ -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)