lionrampant
IS-IT--Management
Hi,
I'm a complete newbie when it comes to VBScript. I have some knowledge of batch files, but it only gets me part way to where I need to be. Some background here, I'm modifying Thunderbird for an enterprise install that our users can install at home as well as at work. Using WinZip Self-Extractor, I've created a setup which runs a batch file that deletes a couple of files on the users' computers and then calls the Thunderbird setup. This works fine except that I can't dismiss the Windows command window. It closes once it's done, but I'd like it to disappear completely. Failing that, it should at least be minimized. Can anyone help with this?
Here's the code:
As I said, this batch file and the files to install Thunderbird are wrapped in a self-extracting executable.
Thanks in advance for your help,
Ken
I'm a complete newbie when it comes to VBScript. I have some knowledge of batch files, but it only gets me part way to where I need to be. Some background here, I'm modifying Thunderbird for an enterprise install that our users can install at home as well as at work. Using WinZip Self-Extractor, I've created a setup which runs a batch file that deletes a couple of files on the users' computers and then calls the Thunderbird setup. This works fine except that I can't dismiss the Windows command window. It closes once it's done, but I'd like it to disappear completely. Failing that, it should at least be minimized. Can anyone help with this?
Here's the code:
Code:
:: 1. Delete userChrome.css and user.js from C:\
:: 2. Run Thunderbird setup
@ECHO OFF
DEL /S c:\userChrome.css >> c:\tbird.log 2>&1
DEL /S c:\user.js >> c:\tbird.log 2>&1
CALL setup.exe
EXIT
As I said, this batch file and the files to install Thunderbird are wrapped in a self-extracting executable.
Thanks in advance for your help,
Ken