Security Basics mailing list archives

RE: Tutorial on Batch files and scripting


From: "Yvan Boily" <yboily () seccuris com>
Date: Fri, 8 Oct 2004 13:33:50 -0500

A much better explanation is the recommendation to use the Windows Scripting
Host to create VBScript or JavaScript utilities instead of Batch files to
perform what you are trying to accomplish.

A good place to start for this would be
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/ht
ml/scriptinga.asp

Regards,
Yvan Boily 

-----Original Message-----
From: Guillaume Lavoix [mailto:glavoix () altadis com] 
Sent: Thursday, October 07, 2004 12:12 PM
To: Ferland
Cc: security-basics () securityfocus com
Subject: RE: Tutorial on Batch files and scripting

Use vbscripting it is much more appropriate for what you want to do.

Sincerely,
Guillaume



-----Mensaje original-----
De: Ferland [mailto:f3rland () gmail com]
Enviado el: jueves, 07 de octubre de 2004 2:53
Para: security-basics () securityfocus com
Asunto: Tutorial on Batch files and scripting


Anyone know any good tutorial on Batch files?
I need to create .bat files (to use with the cmd.exe shell) 
that automate task on a Windows XP OS like :
  - Keep a log of a registry keys (and compare backup file 
with the new one to see if there is changes...)  ex: REG 
QUERY HKLM\Software\Microsoft\ResKit /v Version >> RegistryResKiT.log
  - Keep a log of current connections

And advanced batch scripting could be usefull for that job.

Thanks
Ferland



Current thread: