On Mon, Aug 13, 2012 at 5:11 PM, David Lum <[email protected]> wrote:
> Restarting the time service with this one line of code: net stop w32time &&
> net start w32time

  Do note the difference between & and &&.

Run foo, then bar:

        foo & bar

Runs foo, then runs bar if foo returned success:

        foo && bar

Runs foo, then runs bar if foo returned failure:

        foo || bar

These mirror the boolean AND and boolean OR operators from the C language.

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to