Script file

[Closed]
Report
-
Posts
1021
Registration date
Saturday May 23, 2009
Status
Contributor
Last seen
October 20, 2010
-
Hello,
I would like someone to tel me how to write a script for my computer which is on the domain I want to click on the script so that it could back up my documents e-mails and my desktop this script must back up all of these thing to a map drive allocated to me on the server and everytime I click on that script it must update my back up on my map drive can someone tell me how to write this script.

2 replies

Posts
1021
Registration date
Saturday May 23, 2009
Status
Contributor
Last seen
October 20, 2010
182
a script is just a batch file that can be written in a notepad document and saved as ????.bat

the commands you are looking for would be simple dos commands to copy the directories/files that you require.

could you provide some information so that I can help.
would need the directories/folders/files that you need to copy and the target location that you require it to go to.

just the names of the directories etc will do.
I want to back up my documents under documents and e-mails which are under out look
Posts
1021
Registration date
Saturday May 23, 2009
Status
Contributor
Last seen
October 20, 2010
182
Have a look at this link. It has a very good example that you could use, with the necessary amendments for your situation.

https://www.speedguide.net/articles/how-to-backup-using-batch-files-1547

hope that helps.
Let us know either way