Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by b40d-48b2-979e

12 days ago

It depends on your shell. I think MINGW bash has `/mnt`? maybe it's just `/c`, `/d`, etc.? but for cmd, it's the command `cd D:\apps && D:` and powershell handles it gracefully with one command for drive changing `cd D:\apps`

1 comment

b40d-48b2-979e

Reply

ChoGGi  11 days ago

So cd /path/to/ and cd /d c:\path\to\d:\path\?

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities