Posted 14 August 2002 - 10:55 PM
Here's a snip from mine:
if %COMPUTERNAME%!==SERVER2! GOTO END
net time /DOMAIN:asysttech.com /set /y
if %COMPUTERNAME%!==SERVER3! GOTO END
if %COMPUTERNAME%!==SERVER4! GOTO END
copy \\server2\netlogon\producti.* c:\qadcli
copy \\server2\netlogon\progress.* c:\qadcli
You would be looking at the portion starting with "copy" for you file deployment. I keep a few files for our ERP system on there in case I have to modify them, that way if I do I can just have the users logoff and then log back on again. There are only 3 or 4 files on there, and I can just REM the statements when everyone is setup to alleviate any extra logon traffic issues. Make sure that the user has the proper permissions to copy the files to the client machine, or you will simple get errors as the script runs.