Page 1 of 1
How do I run this kind of file?

Posted:
Sat Jun 28, 2008 1:43 pm
by Hotshot
It's a backup file with .bat suffix: it looks like a cogwheel in a frame. Do I just double-click to run it?

Re: How do I run this kind of file?

Posted:
Sat Jun 28, 2008 2:27 pm
by Brett_Henderson
That's a batch file. If memory serves, batch-file programmingis a lot like a series of DOS line commands.
Before trying to figure out how to run it, I'd wanna know what it does. Batch files run on their own (as opposed to being called up like a routine) are probably useless at best... destructive at worst..
Re: How do I run this kind of file?

Posted:
Sat Jun 28, 2008 3:31 pm
by Hotshot
Thanks, Brett. Problem solved!
Re: How do I run this kind of file?

Posted:
Sun Jun 29, 2008 10:44 pm
by macca22au
Yep, batch files are usually embedded in applications which call them up as needed. If you have one on its own its an orphan.
Re: How do I run this kind of file?

Posted:
Mon Jun 30, 2008 1:02 pm
by Fr. Bill
It's a trivial matter to open any .bat file in notepad.exe to see what it's doing... :o
Re: How do I run this kind of file?

Posted:
Mon Jun 30, 2008 4:10 pm
by stuart1044
[quote]It's a trivial matter to open any .bat file in notepad.exe to see what it's doing...