1.

Solve : Creating a backup bat?

Answer»

Okay so we were doing dos for a while and there was issues with the machines that we were using so we have just stayed with linux for a while in my class. The thing is that I understand how to do it for the most part. I have xcopy S D /y /s /v But I also need it to be a desktop icon that will launch it when clicked, I am not at my machines so sadly not sure how much of this will work at all.Quote from: squall_01 on April 08, 2009, 12:12:04 PM

I have xcopy S D /y /s /v But I also need it to be a desktop icon that will launch it when clicked,

1. Put the commands you want to run, into a .bat or a .cmd file.

2. Save it to the desktop.

let me refrase that OH I suppose it is that easy. Okay so FORGET it then just wondered if I wasnt missing anything as well.Quote from: squall_01 on April 08, 2009, 12:22:15 PM
let me refrase that oh I suppose it is that easy. Okay so forget it then just wondered if I wasnt missing anything as well.

Yes it is that easy. If you do not want to put the actual batch on the desktop you can open Explorer, open the folder where the batch is located, right click the batch file icon and drag it out of Explorer ONTO the desktop, and when you let go the mouse button to drop it, you can choose "create shortcut here". You can rename the shortcut to anything you like and choose it a different icon if you want, but it will still point at the batch file, which (obviously) needs to remain in its location.

Probably what he was GOING to have us do. One thing I made the batch and told it to run with out ECHO off the thing is that I told it to copy one file and it starting coping a whole lot then it just like goes away from the disk.


Discussion

No Comment Found