How do I access my Windows partition using the command line?

I had a problem with my Ubuntu install, and I need to uninstall it. However, I have one folder on there with an important assignment in it that I'd like to keep still. I can still get into Ubuntu with the command line, and it was installed beside Windows so I had access to my Windows partition as well. My question is - is it possible to access the Windows partition using the command line?


Solution 1:

First you need to know the partition your Windows is. For that you can use the command

cat /proc/partitions

Then you need to make a folder, where the partition will be mounted to:

mkdir /mnt/win

Next

mount /dev/*** /mnt/win

Then

cd /mnt/win