Hiya, I need some help with an awesome feature I want in my Batch program. If anyone can help, please make an account on http://stackoverflow.com/ to help me out. If you want to view it or don't wanna make an account but know the answer, please reply with your answer here. Here is the link: http://stackoverflow.com/questions/24488236/updating-batch-files-via-dropbox/
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?
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 )
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.
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?
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.