Batch Help needed

Discussion in 'Off-Topic' started by prince_planet_2, Jul 1, 2014.

Thread Status:
Not open for further replies.
  1. prince_planet_2
    Offline

    prince_planet_2 Well-Known Member

    Messages:
    895
    Trophy Points:
    317
  2. MurcielagoSky
    Offline

    MurcielagoSky Experienced Member

    Messages:
    273
    Trophy Points:
    209
    It's a neat idea! Are you willing to upload your Batch file for me to see?
     
  3. prince_planet_2
    Offline

    prince_planet_2 Well-Known Member

    Messages:
    895
    Trophy Points:
    317
    The info inside the batch file is kinda private. All I want it to do is check for an update (the batch updated file which will be on Dropbox or something) and then download it automatically. Do you know how I could do that?
     
  4. MurcielagoSky
    Offline

    MurcielagoSky Experienced Member

    Messages:
    273
    Trophy Points:
    209
    This program will create a Dropbox folder called "UpdatesHere". Anything that you put in there will appear on your desktop if you open the batch file. Make sure you have Dropbox installed.

    Inspired by snowy007's "Minecraft DropboxSync Startup Script V1.1". Link

    @echo off
    TITLE Updater
    cls

    set dropboxdir=%userprofile%\Dropbox
    set dropboxupdatesdir=%dropboxdir%\UpdatesHere
    set updatedir=%userprofile%\Desktop

    IF NOT EXIST "%dropboxdir%" (
    echo YOU DONT HAVE DROPBOX INSTALLED YOU NUM NUT!
    pause
    EXIT
    )

    (
    echo transferring update to directory.
    echo DONT CLOSE THIS WINDOW!
    PING 1.1.1.1 -n 1 -w 3000 >NUL
    XCOPY /E /Y "%dropboxupdatesdir%\*.*" "%updatedir%"
    cls
    echo Update downloaded to Desktop
    pause
    )
     
  5. prince_planet_2
    Offline

    prince_planet_2 Well-Known Member

    Messages:
    895
    Trophy Points:
    317
    Wait up....i'm talking about the Dropbox online service. Is this what your talking bout?
     
  6. MurcielagoSky
    Offline

    MurcielagoSky Experienced Member

    Messages:
    273
    Trophy Points:
    209
    You seem confused. When you install Dropbox it makes a special folder. Whatever you put in that folder uploads to your Dropbox account (Online). So yes this batch program is using Dropbox's online service.
     
  7. prince_planet_2
    Offline

    prince_planet_2 Well-Known Member

    Messages:
    895
    Trophy Points:
    317
    I don't install their application or whatever, I just use it online. You know it like generates a link to the file, is there a way for it to like look for that link?
     
  8. MurcielagoSky
    Offline

    MurcielagoSky Experienced Member

    Messages:
    273
    Trophy Points:
    209
    I thought you said that the information in your batch file was private. So I assumed that your batch file was for personal use. I don't see why you can't install Dropbox, unless you plan on distributing your program.
     
  9. prince_planet_2
    Offline

    prince_planet_2 Well-Known Member

    Messages:
    895
    Trophy Points:
    317
    All I want to know is if there is a command to look for the file online Dropbox.
     
Thread Status:
Not open for further replies.

Share This Page