We help IT Professionals succeed at work.

Transferring files from C drive to D drive

jimtheo asked
I have Windows 98 to which I have added a new D hard drive. My C drive (2gb) is almost full. My drive (8gb) has plenty of unused capacity. How  can I transfer files from C to D? Am I limited as to the type of files that I can transfer?
Watch Question

You sure are, especially no .exe files.

You can't transfer applications, just personal documents or files not pertaining to the operation of Windows.

You should save the infocreated by the programs, uninstall them, then re-install them to the D: drive.

When you install new programs, simply change the C:\Program Files\YOUR NEW APP DIRECTORY to:

Top Expert 2004

You can laos move the swap file (usually fairly big)
by going to my computer, right click, choose properties,performance, virtual memory, and from the drop down box choose your d drive
there is a third party app (partition magic) that comes with a drive mapper, that will allow you to move programs, then run the drive mapper and it will change the reg and ini's to point to the new partition

It all depends on the actual program. If you have the original cds for the programs. If the programs shows up in the add/remove programs then just uninstall it and re-install it on the D: drive.

If there is not un-install feature for the program - you can still move many programs to another drive. Try copying the entire directories from the C: drive to the D: drive - then rename the C:<name> folder to <name>.old  - Go in manually and change the drive letter on all the shortcuts from C  to D:  (If the programs are under the c:\Program Files   folder  - make sure you create a new "Program Files" in the D: drive.

Try out the program. If it fails then go into the registry and find any references to the program path  and change it to the D: instead of the C:  - you may also have references in an INI file  that may need to be changed.

It takes a bit of work but you can do it.

The easiest way is to use something like symantec's Ghost  (you can get a 15 day free trial on their web site) to copy everything from the C: drive to the D: drive  and then switch the two drives and reformat the old 2Gig Drive (now the D: drive)  - Then move your DATA  over to the D: drive and leave the Programs on you new 8 Gig C: drive.

Top Expert 2007

replacing hard disk with new hard disk transferring files to a new hard drive
Use Ghost from Symantec.com or some of the other 3rd party programs.
http://perso.club-internet.fr/guiboure/en/index.html   SavePart a Ghost clone
If you are using win 9x/ME , then you can do it yourself, if you have a little technical knowledge.

1) Prepare a bootable floppy with the OS on it ( See control panel- add/remove programs - Startup disk Tab ).

2) Install the new Hard disk, take care to jumper the disk master/slave depending on whichj IDE cable you connect.

3) Fdisk the new drive and setup a partition.

4) Format the disk with format d: /s ( d being the correct drive letter ).

5) in windows , open a DOS window and type

xcopy c:\*.*  d:\ /c/h/e/k/s

6) shut down windows and use f8 to go to a command prompt.
use attrib -s -h -r *.d* in the windows dir to unprotect your registry files.

copy system.* d* and user.D* to the windows dir on drive D:\

7) remove your old hard disk, and boot from your floppy drive.

8) use Fdisk to set your new C: drive to active partiton ( option 2 of fdisk ).

9) from the A: prompt type in
Sys C:

10) reboot and you should be up and running, and you still have your old hard drive if needed.

I hope this helps !

Good Luck !


I'm not sure how to proceed.
To stevenlewis: when I follow your suggestion, the screen reads: " these settings should be adjusted by advanced users only". That's not me so I'm reluctant to do it.
To DTH consulting: for the same reason I am reluctant to go into the registry.
So let me ask this.
C:\ Windows occupies 897 mb of the capacity of my C drive.
C:\ Program Files occupies 572 mb.
C:\ Helpspot occupies 99 mb.
Those are the major consumers of the capacity of my C drive. How much of those mb can be safely transferred to the D drive? And how involved is it?
Top Expert 2004

If you are not an advanced user, then I sugest you clone the hard drive to the bigger one, make that your boot disk, and format the old one and make it a slave, as SysExpert suggests. How much free space is still left on c: now?


There's 190 mb of free space left on my C drive.

Try going to the manufacturer's website and downloading their disk utility. Most manufacturers have software that allow an exact copy of a disk.
Just my opinion...

I think the 2GB C: drive would work out just fine for all the operating system files eg c:\windows, c:\windows\system, and the C:\Program Files\Common Files directories. As long as you are not a "mad downloader"

Then uninstall all programs located in the C:\Program Files directory with the exception of the Common Files, Internet Explorer, Outlook Express, Plus!, Uninstall Information, and Windows Media Player directories.

And install the remaining program to D:\Program Files\YOUR NEW APP DIRECTORY. And as Steven pointed out, you'r swapfile should reside on the D: drive also.

No messing with master/slave switches, it's already setup, right? No downloading programs that you may not understand clearly. Mistakes can happen and you could loose important data.

I would suggest you download and run Microsoft's RegClean after you uninstall a program. This program is the safest of all registry cleaners. Don't even concern yourself with what it removes. Here's a link:


This utility cleans your Registry of unnecessary entries that were created when you installed or uninstalled programs on your computer. This release of the utility fixes a few problems and creates an "undo.reg" file so that you can undo changes you inadvertently make to the Registry.
Author: Microsoft
Version: 4.1a, build 7364.1



Good answer!

Explore More ContentExplore courses, solutions, and other research materials related to this topic.