[Batch files] - Computers



Search Tech-Forums - link takes you to our Forum's search page.

Note: The following is only a text archive!


To view the actual forum discussion, please visit our website at http://www.tech-forums.net

Pages:1



Batch files

(Click here to view the original thread with full colors/images)



Posted by: Mizingo

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



Posted by: Tkey

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



Posted by: Mizingo

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



Posted by: office politics

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



Posted by: bla!!

As far as learning batch files, this is a good site for the basics [url]http://www.computerhope.com/batch.htm[/url] 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.



Posted by: Mizingo

cool thanks for your help guys



Posted by: Vormund

Yeah, what [i]bla!![/i] 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!

[url]http://www.autoitscript.com/autoit3/[/url]

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. :p





vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited.


PPC Management
vB Easy Archive Final - Created by Xenon