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

Author Topic: HUGE backup batch problem  (Read 2979 times)

0 Members and 1 Guest are viewing this topic.

Amrykid

    Topic Starter


    Beginner

  • Piplup rules!!!!!!!!
    HUGE backup batch problem
    « on: August 02, 2007, 04:50:33 PM »
    i need help, my backup batch file doesn't backup. I have it copy my documents to a folder and then it ask me where to back it up. when i select E:\(DVD Burner) it said location not found or something and when i choose F:\(Flash Drive) its the samething. I got Vista.
    heres my code.
    Code: [Select]
    @echo off
    title Backup Files to Temporary Location
    echo Gathering files.......
    echo Please wait.
    copy C:\Users\Owner\Documents "C:\Users\Owner\Documents\backupstore\" /V /Y
    cls
    echo.
    ECHO 1.Burn to CD
    ECHO 2.Move to Flash Drive(:G)
    set dir=
    set /p dir=Choose a Directory
    if '%dir%'=='1' goto Burner
    if '%dir%'=='2' goto Flash Drive
    ECHO "%choice%" Invalid Directory
    ECHO.
    :Burner
    title Burning Backup disc....
    echo Moving Backup Data to CD Burner...
    copy C:\Users\Documents\backupstore\ E:\
    goto end
    :Flash Drive
    title Backing up file to Flash Drive
    echo Moving Backup Data to Flash Drive
    copy C:\Users\Documents\backupstore\ "G:\Documents\Backup\" /V /Y
    end
    :end
    ECHO Backup completed!
    pause
    exit
    Laptop Specs:
    Manufacturer:Gateway
    Model:MT3705
    OS:Windows Vista Home Premium
    Processor:Intel Pentium Dual-Core Mobile Processor 1.60 GHz, 533 MHz FSB
    Graphics:ATI Readeon Xpress 200M Graphics with 256 HyperMemory
    Memory:1024 MB DDR2
    Network: B/G WLAN Card, 10/100 mbps Ethernet LAN, 56k Fax/Modem

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: HUGE backup batch problem
    « Reply #1 on: August 03, 2007, 03:20:05 AM »
    Let me just clear up the code first


    Code: [Select]
    :1
    @echo off
    title Backing Files to Temporary Location
    echo Gathering files..........
    echo Please wait.
    md "C:\Users\Owner\Documents\Backupstore"
    copy "C:\Users\owner\documents" "C:\Users\Owner\Documents\Backupstore" /v /y
    cls
    echo.
    echo. 1.Burn to CD
    echo. 2.Move to Flash Drive (g:\)
    set /p dir= Choose a Directory:
    if /i %dir%==1 goto :burner
    if /i %dir%==2 goto :flash
    cls
    echo.
    echo Please choose 1 or 2 and press Enter
    pause > nul
    goto :1
    :burner
    cls
    title Burning Backup Disc.....
    echo Moving backup data to Cd burner.....
    copy "C:\Users\Documents\backupstore" "E:\"
    goto :end
    :flash
    cls
    title Backing up files to Flash Drive
    echo. Moving backup data to flash drive
    md "G:\Documents\Backup"
    copy "C:\Users\Documents\backupstore" "G:\Documents\Backup" /V /Y
    goto :end
    :end
    echo.
    echo. Backup completed!
    echo.
    pause
    exit

    Try that. I don't know vista well but that should/might work.
    If it doesn't work, try getting rid of the '/V /Y' from the copy command.

    Deerpark



      Egghead
    • Thanked: 1
      Re: HUGE backup batch problem
      « Reply #2 on: August 03, 2007, 04:30:56 AM »
      Is it actually possible to burn a disc just by using the copy command? Just wondering because I don't know the answer my self...
      Code: [Select]
      title Burning Backup Disc.....
      echo Moving backup data to Cd burner.....
      copy "C:\Users\Documents\backupstore" "E:\"
      goto :end
      Any sufficiently advanced technology is indistinguishable from magic.
      Arthur C. Clarke (1917 - 2008)

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: HUGE backup batch problem
      « Reply #3 on: August 03, 2007, 04:54:17 AM »
      Unless the burning program has a command-line utility it is impossible. What he is doing there is copying the files to the temporary folder, ready to be burned.

      Amrykid

        Topic Starter


        Beginner

      • Piplup rules!!!!!!!!
        Re: HUGE backup batch problem
        « Reply #4 on: August 03, 2007, 08:44:19 AM »
        Carbon, your right, thats exactly what im doing but i need the copy to work after.
        Laptop Specs:
        Manufacturer:Gateway
        Model:MT3705
        OS:Windows Vista Home Premium
        Processor:Intel Pentium Dual-Core Mobile Processor 1.60 GHz, 533 MHz FSB
        Graphics:ATI Readeon Xpress 200M Graphics with 256 HyperMemory
        Memory:1024 MB DDR2
        Network: B/G WLAN Card, 10/100 mbps Ethernet LAN, 56k Fax/Modem

        Carbon Dudeoxide

        • Global Moderator

        • Mastermind
        • Thanked: 169
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Experience: Guru
        • OS: Mac OS
        Re: HUGE backup batch problem
        « Reply #5 on: August 03, 2007, 11:24:40 PM »
        What do you mean? Which copy?