Moving files from one partition to another

Performance, hardware, software, general buying and gaming discussion..
Post Reply
Message
Author
w0qj
Senior Member
Senior Member
Posts: 602
Joined: Fri Jun 11, 2004 9:53 pm
Location: Hong Kong

Moving files from one partition to another

#1 Post by w0qj » Mon Dec 05, 2005 9:02 pm

How do you move files from C:\ to E:\ partition?

When I drag and drop files from C:\ to E:\ partition of my hard drive, it just *copies* the file but don't delete the file from the original source partition.

I just want to drag and drop to move the file; not to copy it.

This problem never happened before when I had just one C:\ partition on my HDD...

Would appreciate everyone's help!



Background Info: After reading about claiming back the 5 GB of hard drive space used up by the pre-desktop partition (for product recovery purposes)...

I've partitioned it into C:\ and E:\ drives (the D:\ drive name was claimed by the CD-ROM...)

tfflivemb2
Moderator1
Moderator1
Posts: 5532
Joined: Thu Sep 01, 2005 1:17 pm
Location: Wisconsin
Contact:

#2 Post by tfflivemb2 » Mon Dec 05, 2005 9:09 pm

I know that it isn't the same as drag and drop, and it involves more steps, but I use the cut and paste method. I just use "ctrl X" and "ctrl v" so quickly that it is second nature.

damorg
Posts: 33
Joined: Mon May 03, 2004 7:42 pm
Location: ohio

#3 Post by damorg » Mon Dec 05, 2005 9:22 pm

The default action in Windows is to copy between partitions when dragging and dropping.

Hold down SHIFT key as you drop them and it will move the files rather than copying them.

a31pguy
Moderator1
Moderator1
Posts: 605
Joined: Wed Mar 16, 2005 12:14 pm
Location: San Francisco Bay Area
Contact:

#4 Post by a31pguy » Mon Dec 05, 2005 9:24 pm

but being a UNIX guy - I like to know my files go where I want them too. So I say use the command shell. It won't tie up you windows shell waiting for a move to finish - this will run in background and you can continue to work.

The first way is to use a shell (start -> run -> cmd)

then use the move command.

move c:\some_directory e:\some_directory

or the better way to move files is to use the xcopy command.


xcopy c:\some_directory e:\some_directory /s /e

which copies the entire directory tree.

then just do a rmdir c:\some_directory /q /s

which then deletes the directory and any files.

I just wrote a simple batch file. I call it moveit.cmd
start a cmd window (see above).

type in "cd c:\windows"
type in "copy con moveit.cmd"
paste the stuff below:


@echo off
echo Starting mass file move to %2
echo d | xcopy %1 %2 /s /e
echo Deleting old files from %1
rmdir %1 /q /s
echo Move Done!
pause

and then type control-z. should say 1 file written.

invoke it by (start -> run -> moveit c:\somedirectory e:\somedirectory)

it will ask you to hit a key once it's done to let you know it worked, then closes the window.


But if you want to move just a few files - then control-x and control-v are better for 1 file at a time.

whizkid
ThinkPadder
ThinkPadder
Posts: 1555
Joined: Wed Sep 29, 2004 1:40 pm
Location: Saint Paul, MN
Contact:

#5 Post by whizkid » Tue Dec 06, 2005 10:34 am

Yet another method is to drag them with the right mouse button. When you let go, you can choose to copy or move the files.
Machine-Project: 750P, 600X, T42, T60, T400, X1 Carbon Touch

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Thinkpad - General HARDWARE/SOFTWARE questions”

Who is online

Users browsing this forum: No registered users and 1 guest