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

Author Topic: Cool Camera Syncing BAT  (Read 2211 times)

0 Members and 1 Guest are viewing this topic.

Neodudeman

    Topic Starter


    Rookie
    Cool Camera Syncing BAT
    « on: December 31, 2006, 11:57:01 AM »
    Hi Everyone! I just recently got a new camera over the holidays, and a 2gig card to go with it!

    Then I thought: It's going to be a pain organizing that many pictures!

    So I decided to create a bat file to do the job for me!

    It worked So Well, I decided to share it with the rest of you! =D

    I know it's such a simple BAT file, and half of you could probably make a better version within 5 minutes or reading this post, but I still wanted to share it anyway =Þ. Props to Sidewinder for his %date% variable code for the folder creation.

    Code: [Select]
    @ECHO OFF
    for /f "tokens=2-4 delims=/ " %%i in ("%date%") do (
          set mm=%%i
          set dd=%%j
          set yy=%%k
          )
    set today=%yy%_%mm%_%dd%

    md "C:\Documents and Settings\Neo\My Documents\My
    Pictures\XMAS Camera\%today%\"

    MOVE "DCIM\100CAMEA\*.*" "C:\Documents and Settings\Neo\My
    Documents\My Pictures\XMAS Camera\%today%\

    Happy New Year Everyone! =D
    « Last Edit: December 31, 2006, 12:00:56 PM by Neodudeman »

    Dilbert

    • Moderator


    • Egghead

    • Welcome to ComputerHope!
    • Thanked: 44
      Re: Cool Camera Syncing BAT
      « Reply #1 on: December 31, 2006, 12:00:17 PM »
      Nicely done. Good work. :)
      "The geek shall inherit the Earth."

      Calum

      • Moderator


      • Egghead

        Thanked: 238
        • Yes
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Other
      Re: Cool Camera Syncing BAT
      « Reply #2 on: December 31, 2006, 12:01:54 PM »
      That's pretty cool.
      However, remember that the folder name will change between cameras, as different manufacturers use different names for photos and different folder names/structures.
      W00t, this is my first post in the DOS section!
      Lol.

      Neodudeman

        Topic Starter


        Rookie
        Re: Cool Camera Syncing BAT
        « Reply #3 on: January 01, 2007, 11:07:18 AM »
        Hey, could someone help me out with my batch file?

        I just found out that by moving All the pictures from the camera, it resets the IMAGXXXX number. Is there a way that I could, after moving the file to My Pictures, re-copy Only the Last file back?

        There are two types of files. Video and Picture.

        They both have the same naming system. IMAGXXXX, where XXXX is the number of that file. I.E. IMAG0001.JPG is the first file made, and IMAG0012.JPG is a file made later. The Video and Picture files have the different endings of ASF, and JPG.

        Anything that I can do?
        « Last Edit: January 01, 2007, 11:09:43 AM by Neodudeman »