Jump to content

t-12 batch file issue


Recommended Posts

So I have a batch file that runs at t-12 during GUI mode in windows XP setup, the batch file runs silent installations of various programs on a server share, There are programs that I only want installed on certain workstations and not others, is there an if/then command I can put in there that does this...

If this computer's name is "mmdc" then install \\server\share\install.exe /silent, if computer's name is not mmdc then do not install this.

the part i'm really stuck on is having it figure out the computer's name and determining whether it should or shouldn't install that.

thanks in advance.

Link to comment
Share on other sites


Hi!

Please check out this thread as it seems as u could be facing the same problem as discussed in here...

Guess, u need to decide if to install something, but dont know where to search or determine the criterias for the decission (hope I spelled that one right)... :blushing:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...