Tuesday, February 01, 2005

& CMD operator

ipconfig /release

Whoops, this was just a TS session, now the server has no connectivity, I have to get out of my office and go over to the server.

How many times have you done this? Well, I've done it a few times and it drives me nuts every time. Now I'm using a new command. I've found the "&" operator!

I simply type in "ipconfig /release & ipconfig /renew" at the command prompt, the system runs one after the other. to the TS session, it looks like a little bit of a lag, and you're reconnected! (if you get the same IP address of course).

I wonder what else I can use the & operator for where it actually makes sense. :)

2 comments:

Anonymous said...

For example the "net start" and "net stop" commands:

net stop servicename & net start servicename

Sean Daniel said...

Thanks! that's an excellent idea!