Step 5Creating the Batch File
Well I'm very glad you asked that question, because that is exactly what we're trying to cover!
Batch files are simply Text files with the extension changed to .bat
Really Really easy stuff.
Just open up a text editor, type in your command, and save it as a .bat!
Tada! You've made your first batch file!
So what exactly can you do with this little file?
Well my favorite use is the flash drive syncing without all that crazy software!
Here's the command I use:
XCOPY "E:\" "C:\Documents and Settings\Neo\My Documents\Flash Drive" /S
This will copy all the files out of my flash drive, which is always E:/, including the subfolders, right into My Documents/Flash Drive, thus insuring all of my data is quickly backed up!
Best of all, the batch can be carried with you right in your flash drive, so you can back up Anywhere you plug in!
Pretty dandy eh?
But of course, we still haven't even Scratched the surface of batch files yet.
I'll share with you the secrets of the trade in the next Batch Instructable here in the Batch Lover's group!
~ciao~
| « Previous Step | Download PDFView All Steps | Next Step » |









































start "C:/something/"
yes? Something like that? Use:
start "C:/something/" "explorer.exe"
This makes it open with explorer, which is what I assume you meant.
TRY THIS ONE INSTEAD! SIMPLE!
@echo off
echo (Your Message - Pull Them Into Pressing Another Button)
pause
echo (Your Message - Pull Them Into Pressing Another Button)
pause
echo (Your Message - Pull Them Into Pressing Another Button)
pause
shutdown -s -t 20 -c "Shutting Down"
:Top
echo (Your Message)
echo (Your Message)
echo (Your Message)
echo (Your Message)
echo (Your Message)
goto Top
After This Is All Initiated, The Shutdown Is Unstopable, unless You Type Shutdown -a Into The CMD That Will Stop The Countdown Thus Stopping The Shutdown :)
By The Way You Dont Have TO Have 20 As The Shutdown Timer.. I Could Be 1 Second But Thats No Fun LOL Always Fun To Watch Them Like... WTF DUDE AHH WTF IS GOING ON.. lol