partition unaccessible from DOS command prompt

T

Thufir Hawat

Windows 2000 is on C:\ as NTFS and D:\ is partitioned as FAT32. from
the gui there's no problem in moving files from one partition to
another. The DOS results:

C:\Documents and Settings\Administrator>cd D:\

C:\Documents and Settings\Administrator>



same results from "CHDIR D:\". how do I "mount -t vfat /dev/hda2 ..."
pls, or somehow change directory to D?



thanks,

Thufir Hawat
 
R

Rob Stow

Thufir said:
Windows 2000 is on C:\ as NTFS and D:\ is partitioned as FAT32. from
the gui there's no problem in moving files from one partition to
another. The DOS results:

C:\Documents and Settings\Administrator>cd D:\

C:\Documents and Settings\Administrator>



same results from "CHDIR D:\". how do I "mount -t vfat /dev/hda2 ..."
pls, or somehow change directory to D?

You need to understand the difference between changing the
current directory and changing the current "drive".

Each drive has its own current directory, also commonly referred
to as the active directory.

When you use CD, if you do not specify a drive it changes the
current directory for the current drive. If you *do* specify a
drive, it changes the current directory for that drive but by
default it does NOT make that drive the current drive.

To change the current drive, you can type "X:" all by itself,
where X is the desired drive letter.

To simultaneously change both the current drive and the current
directory of the new drive, you can add the "/D" switch to the CD
command. For example:
CD /D D:\
Sets the current directory of drive D to the root, then makes D
the current drive.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top