Help with making a backup batch file

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
crdr
Posts: 1
Joined: 31 Mar 2016 14:54

Help with making a backup batch file

#1 Post by crdr » 31 Mar 2016 14:58

Hello! So i'm basically new to programming and new to batch as well!
I was wondering if anyone could help me design or make a code that will ask me what i want to backup and which directory i want to back it up to. If neither file or directory exist then the code will automatically make the file or the directory.

I already know the code on how to backup a specific file from a specific directory, so i just want to widen my code allowing the user to choose a file and which directory to backup to.

Thank you for your help!

RedEyedRocker
Posts: 19
Joined: 25 Mar 2017 12:15
Location: Nepal
Contact:

Re: Help with making a backup batch file

#2 Post by RedEyedRocker » 25 Mar 2017 19:33

Sure, I'm experienced with Batch File Handling, I'm skilled enough for these simple tasks as I've created lots of other functions.
Do you have skype/discord/facebook or anyway for direct messaging you?
If so, private message me your mostly used contact.

Samir
Posts: 384
Joined: 16 Jul 2013 12:00
Location: HSV
Contact:

Re: Help with making a backup batch file

#3 Post by Samir » 13 Apr 2017 14:39

So basically you need to research those commands that allow user input. I believe set /p is one of them.

Work on your batch and post it here and we'll help debug it.

Post Reply