Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-31-2006, 11:27 AM   #1 (permalink)
 
Newb Techie

Join Date: Mar 2006

Posts: 20

Mizingo

Default Batch files

hello i am new to making batch files and i was wondering is there any information on how to make them??? im trying to make batch files to
edit the regristy and install software so i dont have to waste time fixing my friends computers
Mizingo is offline  
Old 12-31-2006, 12:08 PM   #2 (permalink)
Yek
 
T.F's Resident Cool Guy...

Join Date: Aug 2006

Posts: 1,625

Yek is on a distinguished road

Send a message via AIM to Yek Send a message via MSN to Yek Send a message via Yahoo to Yek Send a message via Skype™ to Yek
Default

Google batch tutorials , also just call for bla!! if you have a problem :> ,
REG DELETE (key here) deltes a registry key
\f will force whatever you are doing
Yek is offline  
Old 01-09-2007, 08:10 PM   #3 (permalink)
 
Newb Techie

Join Date: Mar 2006

Posts: 20

Mizingo

Default

i was also wondering what a good script code i should use like php or pearl i was just courious what type i should use whats easier to setup whats easier to troubleshoot i like i said in my first post im not sure which type i should use
Mizingo is offline  
Old 01-09-2007, 09:59 PM   #4 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default

create registry merge files to modify the registry. research .reg files

use the start command to execute the registry files and start the installs

ex.
start myreg.reg
start install.msi
office politics is offline  
Old 01-09-2007, 11:34 PM   #5 (permalink)
 
Monster Techie

Join Date: May 2004

Location: /usr/root/mn/us

Posts: 1,121

bla!! is on a distinguished road

Default

As far as learning batch files, this is a good site for the basics http://www.computerhope.com/batch.htm from there just google what you're trying to do and there's uasually some good examples.

For scripting, it depends on what you want to script. For webserver stuff, I would recommend PHP or Python. For OS scripting, look into VBScript, or a cool one I found a while back is AutoIT.
__________________
<br>
Its a frigging Laptop, not a Labtop!!!!
bla!! is offline  
Old 01-12-2007, 06:42 PM   #6 (permalink)
 
Newb Techie

Join Date: Mar 2006

Posts: 20

Mizingo

Default

cool thanks for your help guys
Mizingo is offline  
Old 01-25-2007, 06:29 PM   #7 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

Yeah, what bla!! said...AutoIt is a great little "basic"-like language which could do both for you- add/remove registry keys and install the programs (either with prompt commands or via the GUI). So yeah, I'd recommend checking that out!

http://www.autoitscript.com/autoit3/

PS: Check out the docs for it before giving it a thumbs down, as it really is simple... just not as powerful if you need to something non-generic.
__________________
Vormund is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On