Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Problems navigating to partition  (Read 2904 times)

0 Members and 1 Guest are viewing this topic.

wsuErk

    Topic Starter


    Greenhorn

    • Experience: Experienced
    • OS: Windows XP
    Problems navigating to partition
    « on: March 04, 2011, 07:02:07 AM »
    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.

    Salmon Trout

    • Guest
    Re: Problems navigating to partition
    « Reply #1 on: March 04, 2011, 07:56:58 AM »
    please show your batch file so far.

    wsuErk

      Topic Starter


      Greenhorn

      • Experience: Experienced
      • OS: Windows XP
      Re: Problems navigating to partition
      « Reply #2 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" "

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Problems navigating to partition
      « Reply #3 on: March 04, 2011, 10:48:41 AM »
      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>

      Salmon Trout

      • Guest
      Re: Problems navigating to partition
      « Reply #4 on: March 04, 2011, 01:50:34 PM »
      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



      wsuErk

        Topic Starter


        Greenhorn

        • Experience: Experienced
        • OS: Windows XP
        Re: Problems navigating to partition
        « Reply #5 on: March 04, 2011, 03:30:17 PM »
        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.

        wsuErk

          Topic Starter


          Greenhorn

          • Experience: Experienced
          • OS: Windows XP
          Re: Problems navigating to partition
          « Reply #6 on: March 04, 2011, 03:33:52 PM »
          Also my F:\ is the same hard drive as C:\ just a different partition. im sorry for not clarifying earlier.

          Salmon Trout

          • Guest
          Re: Problems navigating to partition
          « Reply #7 on: March 04, 2011, 04:20:07 PM »
          Read what I wrote above about changing drive letters.


          wsuErk

            Topic Starter


            Greenhorn

            • Experience: Experienced
            • OS: Windows XP
            Re: Problems navigating to partition
            « Reply #8 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"?

            Salmon Trout

            • Guest
            Re: Problems navigating to partition
            « Reply #9 on: March 05, 2011, 05:37:55 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