Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: New to this  (Read 2141 times)

0 Members and 1 Guest are viewing this topic.

gowgohan

  • Guest
New to this
« on: June 13, 2006, 09:04:30 AM »
Hello I'm new to batch files and would appreciate some help.  I am wondering if while running an installer from the batch file, you are able to "hardcode" the cd-key somewhere so you wouldn't have to have any user interaction.  Thanks in advance.  

GuruGary



    Adviser
    Re: New to this
    « Reply #1 on: June 13, 2006, 12:20:31 PM »
    That usually depends on the program and the installer.  There is often a way to automate the CD key, but it probably wouldn't be in DOS or a batch file.  For example, for Windows 98 I remember you could enter the CD-key into the "msbatch.inf" file to automate that part of the process.  Other programs may have a smillar method, but it will be program specific.

    Scripts can be written to "push" keystrokes.  The easiest way to push keystrokes to a Window would probably to use sendkeys in a VBScript.