|
-
May 26th, 2010, 09:26 AM
#1
Thread Starter
Member
[RESOLVED] HELP with check box
I am new to VB and coding to start this off..
I have an automated bat file that backs up select data on PC.
example of first couple lines
@echo off
:: variables
set drive=H:\
set backupcmd=xcopy /s /c /d /e /h /i /r /k /y
echo ### Backing Up Files...
set folder=%date:~10,4%_%date:~4,2%_%date:~7,2%
%backupcmd% "%USERPROFILE%\Favorites" "%drive%\%folder%\Favorites"
this creates a dated folder and backs up the users "Favorites" if you will. then i have a list of other specific files that are backed up.
I have created this

I now need help with the if then statements..
Once the user selects what they want then i need "Start Backup" t run the selected code.
I have a couple ideas but im not 100% sure on how it works, do i have to logged in a bat file then have it executed after the user is done? if so how do i do this?
please help..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|