RE: Tutorial on Batch files and scripting

From: Yvan Boily (yboily_at_seccuris.com)
Date: 10/08/04

  • Next message: Mailing Lists: "Web Hosting / and Site Security Question"
    To: "'Guillaume Lavoix'" <glavoix@altadis.com>, "'Ferland'" <f3rland@gmail.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
    >


  • Next message: Mailing Lists: "Web Hosting / and Site Security Question"

    Relevant Pages

    • Re: Is vbscript appropriate tool?
      ... contrast of using vbscript versus batch files for tasks such as the ... actual scripting examples for just about all the basic functions. ...
      (microsoft.public.scripting.vbscript)
    • Re: Locking Computer
      ... > VBScript instructions you provided? ... Scripting Concepts and Technologies for System Administration ... Introduction to Windows Scripting ... A 4 part series on how to create and structure WSH scripts by Bob Wells ...
      (microsoft.public.windowsxp.general)
    • Re: DOS .... Command Prompt ..... Batch Files
      ... > The popular scripting languages are VBscript, ADSI, WMI,WSH, ETC. ... VBScript is a scripting language, but the other three are not. ... > * How useful is it to be able to write batch files and run them from the ...
      (microsoft.public.win2000.cmdprompt.admin)
    • Re: Good books on scripting
      ... Other good, though slightly older scripting books include Tobias Weltner, ... Windows Scripting Secrets; Windows Script Host Programmer's Reference (Wrox ... Press); VBScript Programmer's Reference (Wrox). ...
      (microsoft.public.scripting.wsh)
    • Re: scripting vs. batch files?
      ... >| I've been using batch files for ages, ... >| client was Windows 2000 or Windows XP. ... >| Can you incorporate scripting syntax in a batch file or should I stop using ...
      (microsoft.public.windows.server.scripting)