Business and Technology with Common Sense

Assistance Required With Batch Files

We have been doing a Microsoft Office 2003 push here at work and have come down to the final workstations on the final subnet. What I would like to do is write a batch file that will scan every computer on our domain and search for the existence of a c:\Program Files\Microsoft Office\OFFICE11\ directory. If it exists, we continue on to the next computer. If it doesn’t exist, append the computer name to the end of a file in a shared directory (common).

Unfortunately, my DOS batch skills wane in the face of linux bash shell scripting.

Anybody have any ideas?

Popularity: 1% [?]

About Aaron
I am the Lead Editor of Technosailor.com, the Author of the WordPress Bible, a WordPress project core contributor, public speaker and an all around badass. If you're interested in having me speak at your event, contact me.

Comments

  1. I think New Jersey is planning a simliar route for electoral votes. I heard something about it on the news a few weeks back.

  2. Aaron says:

    Not at all. It’s just the freeest solution I can find. :) I have no budget money to buy anything.

    I don’t know anything about Kixstart so please enlighten me. :)

  3. I think New Jersey is planning a simliar route for electoral votes. I heard something about it on the news a few weeks back.

  4. Aaron says:

    Not at all. It’s just the freeest solution I can find. :) I have no budget money to buy anything.I don’t know anything about Kixstart so please enlighten me. :)

  5. Feel free to give me a call (if you’re allowed): 204 787 1732. I can get you up to speed on it fairly quickly (and send you some of our internal scripts for doing just the kind of thing you’re doing).

  6. Aaron says:

    I can’t call Canada but if you felt inclined, you could email me or catch me on MSN sometime. :)

  7. Feel free to give me a call (if you’re allowed): 204 787 1732. I can get you up to speed on it fairly quickly (and send you some of our internal scripts for doing just the kind of thing you’re doing).

  8. Can you email me your phone number? I can call you. I’m here all night dealing with a SAN issue anyways.

    My email at work is the one for this entry.

  9. Aaron says:

    I can’t call Canada but if you felt inclined, you could email me or catch me on MSN sometime. :)

  10. Can you email me your phone number? I can call you. I’m here all night dealing with a SAN issue anyways.My email at work is the one for this entry.

  11. Allan says:

    You really should look at the cygwin project, http://www.cygwin.com, sponsored by Redhat.

  12. Allan says:

    You really should look at the cygwin project, http://www.cygwin.com, sponsored by Redhat.