|
Answer» Hi,
I WOULD like to CREATE a batch file which does the following actions on SEVERAL windows 2003 servers. But as I'm a batchfile noob I don't KNOW if it's possible to do these actions in a batch file?
Here are the actions that need to be done:
install.bat (this just RUNS an install program on the server, but it needs to read the fqdn name of the server as I want to use the batch file on multiple servers)
wait 1 min
run command radntfyc 127.0.0.1 radskman.exe mnt=Y,cop=y,startdir=SYSTEM,mname=HPOENG,dname=CM,ulogon=n,ask=n,hreboot=n,context=m,catexp=HPSTYPE:SW,log=initialConnect.log
wait 5 min
delete file c:\usr\novadigm\lib\ztimeq.edm
run command c:\usr\novadigm\hpconnect.cmd nopatch
wait 2 min
check if file hpconnect.cmd exists in folder c:\usr\novadigm
|