1

I just installed Ubuntu Bash on Windows (Windows Subsystem for Linux) on my Windows machine. This is the developer mode through the Anniversary Update.

I would like to access files from my Windows Desktop (or any other subfolder) by Ubuntu command line (accessing Windows drive).

If you can, please point me to the correct reference or guide.

I want to move run code on Ubuntu command-line that will use files in the Windows memory (Dropbox Folder)

marked as duplicate by Pilot6, muru command-line Dec 1 '16 at 15:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • The question is not clear. What do you mean by installing Ubuntu on Windows? What are you trying to access from where? – Pilot6 Dec 1 '16 at 14:31
  • 1
    @Pilot6 It's the Linux Subsystem for Windows, which is effectively a 14.04 shell. – negusp Dec 1 '16 at 14:39
  • @PatrickNegus That question answers both - see the vice versa – Martin Thornton Dec 1 '16 at 14:52
  • @MartinThornton Ok, sure. – negusp Dec 1 '16 at 14:53
9

While in the Ubuntu Bash, your C drive is located in /mnt/c.

So, for example, your desktop would be at:

/mnt/c/Users/<username>/Desktop

  • @ErikaElizabeth Please mark it is correct if it helped your issue. Thanks. – negusp Dec 1 '16 at 14:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.