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

Author Topic: Batch File, moves only jpg  (Read 3451 times)

0 Members and 1 Guest are viewing this topic.

Last-Spartan117

    Topic Starter


    Starter

    Batch File, moves only jpg
    « on: September 23, 2010, 03:17:38 PM »
    Hello all.
    Been coming to this site for years for answers.

    I do a lot of 4chan surfing an even have an auto download tool (beware it cares less what it grabs lol)

    so I have alot of mix file types I'd like a bat to send to their own folders.
    I'm  using win7 (netbook)

    I thought this would work for sure

    @echo on
    move *.JPG C:\Users\******\Documents\Batch Testing 2\File Sort testing
    pause

    I'm getting " Cannot move multiple files to a single file "

    I had a feeling to try another drive so I plugged my flashdrive in an it worked fine.

    does the C drive stop such ?

    mat123



      Hopeful

      Thanked: 16
      • Yes
      • Yes
      • Yes
    • Experience: Familiar
    • OS: Windows XP
    Re: Batch File, moves only jpg
    « Reply #1 on: September 23, 2010, 03:22:01 PM »
    Try This


    move *.JPG C:\Users\******\Documents\"Batch Testing 2"\"File Sort testing"\*.*



    Salmon Trout

    • Guest
    Re: Batch File, moves only jpg
    « Reply #2 on: September 23, 2010, 03:44:25 PM »
    Quote
    C:\Users\******\Documents\Batch Testing 2\File Sort testing

    Does this folder actually exist?

    Last-Spartan117

      Topic Starter


      Starter

      Re: Batch File, moves only jpg
      « Reply #3 on: September 23, 2010, 04:30:08 PM »
      Does this folder actually exist?


      Yeah, the ***** is my name so I did that

      Try This


      move *.JPG C:\Users\******\Documents\"Batch Testing 2"\"File Sort testing"\*.*
      nope. got this

      C:\Users\******\Documents\Batch Testing 2\File Sort testing>move *.JPG C:\
      Users\*******\Documents\"Batch Testing 2"\"File Sort testing"\*.*
      The syntax of the command is incorrect.

      C:\******\Documents\Batch Testing 2\File Sort testing>pause
      Press any key to continue . . .

      gpl



        Apprentice
      • Thanked: 27
        Re: Batch File, moves only jpg
        « Reply #4 on: September 24, 2010, 12:32:52 AM »
        The quotes need to go around the whole path

        Code: [Select]
        move *.JPG "C:\Users\******\Documents\Batch Testing 2\File Sort testing"
        this should do it
        Graham

        Last-Spartan117

          Topic Starter


          Starter

          Re: Batch File, moves only jpg
          « Reply #5 on: September 24, 2010, 04:21:21 AM »
          The quotes need to go around the whole path

          Code: [Select]
          move *.JPG "C:\Users\******\Documents\Batch Testing 2\File Sort testing"
          this should do it
          Graham

          Success
          When I was added the path for the source it " syntax of the command is incorrect."
          however when I ran it in the source folder it works fine.