1.

Solve : Problems navigating to partition?

Answer»

I am currently trying to write a batch file to move some stuff from one NTFS partition to another. The problem is i cant navigate to my other partition. If anyone can guide me threw what i am doing wrong that would be fantastic. Im using CMD in xp SP3.please show your batch file so far.
I haven't started on it. The only thing i need is how to change directory to the partition. other than that all will take is a "move "File name" "Location" " Code: [Select]Microsoft Windows XP [VERSION 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Kohn>d:

D:\>cd BAT

D:\bat>Quote from: wsuErk on March 04, 2011, 08:16:25 AM

I haven't started on it. The only thing i need is how to change directory to the partition. other than that all will take is a "move "File name" "Location" "

What do you mean by "partition"?

To change to a directory on a different drive either:

(1) Change to the wanted drive letter by using the letter followed by a colon D: then use cd to change to the folder cd bat

or

(2) do it all at once by using the cd command with the /d switch e.g.: cd /d d:\bat


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Erk>cd f:
F:\

C:\Documents and Settings\Erk>

that is what is happening, it echos back but doesn't change. Bellow i attached a picture of the drive i am trying to DIRECT to.
Also my F:\ is the same hard drive as C:\ just a different partition. im sorry for not clarifying EARLIER. Read what I wrote above about changing drive letters.

i appologize, i miss read what you wrote and was still using CD when i tried to change. when switching drives do you always leave out the "cd"?Quote from: wsuErk on March 05, 2011, 05:33:35 AM
i appologize, i miss read what you wrote and was still using CD when i tried to change. when switching drives do you always leave out the "cd"?

Change drive, use letter and colon

D:

Change directory on same drive use cd

cd c:\pictures\cats

Change drive and directory at same time

cd /d d:\music\Mozart\Operas\Cosi



Discussion

No Comment Found