RE: Reboot file

  • From: "Stephen Hartley" <support@xxxxxxxxxxxxxxxxx>
  • To: "'[ExchangeList]'" <exchangelist@xxxxxxxxxxxxx>
  • Date: Wed, 18 Jun 2003 08:42:54 +1000

But Chris, is this not a DOS forum as well as an exchange forum? I mean,
every good Windows app needs to be controlled by DOS commands. I am sure
I read that in the fine print somewhere.


Gee, if some people would search the archives (I keep all of my e-mails), there is so much information to be found. For
example, I posted complete batch files to do similar processes to what
Mr Van Singel wants some time back. 

I charge $100 per hour to support people who are having problems with
exchange. Anyone want to tip some $$s into my coffers for the
suggestions that I have made here, that have likely saved them $100's in
support costs?


Stephen Hartley


Brisbane, Australia




-----Original Message-----
From: Chris Nielsen [mailto:cnielsen@xxxxxxxxxxxxxxx] 
Sent: Wednesday, June 18, 2003 7:36 AM
To: [ExchangeList]
Subject: [exchangelist] RE: Reboot file

With any batch file or executable if you simply pass it a parameter you
can essentially have two programs within it and run one or the other
based on the command line parameters you pass it.


Inside of a DOS batch file you would use something like this:



IF %1 == A



[all your first time run code here]

[create reg key under RUN or RUNONCE that calls "mybatchfile.bat A"]




[All your second time run code here]



The actual syntax there may be off, but I'm not going to spend the time
looking up DOS syntax on the net when you can do that yourself very
easily. Others have already given you nearly every step of what you
would need to do for the other aspects of this


Now, do you have any questions about Exchange we can help you with?


Chris Nielsen

Systems Administrator

New Dawn Technologies



List Archives:
Exchange Newsletters:
Exchange FAQ:
Other Internet Software Marketing Sites:
Leading Network Software Directory:
No.1 ISA Server Resource Site:
Windows Security Resource Site:
Network Security Library:
Windows 2000/NT Fax Solutions:
You are currently subscribed to this Discussion List as:
To unsubscribe send a blank email to

Other related posts: