@ECHO OFF REM *************************************************************************** REM ** Remote deployment of Web Expression using PSEXEC ** REM ** ** REM ** Executes install.bat on the target computer using psexec. The script ** REM ** assumes that psexec.exe is in the current PATH. In order to use this ** REM ** script you must modify the variables BASE_PATH, USERNAME, and ** REM ** PASSWORD below to specify the location of the QuickBooks 2008 ** REM ** install.bat script and credentials with the rights to install the ** REM ** software on the remote system. You will specify the name of the ** REM ** remote system by supplying it as the first parameter to the batch ** REM ** file. ** REM ** ** REM ** Usage: deploy.bat computername ** REM ** ** REM ** @author Brian Reich ** REM ** @copyright (C) 2008 Reich Consulting http://www.reich-consulting.net ** REM ** @version 2008-03-24 ** REM *************************************************************************** SET BASE_PATH=\\path\to\qb2008 SET USERNAME=username SET PASSWORD=password SET COMPUTER=%1 psexec \\%COMPUTER% -u %USERNAME% -p %PASSWORD% -f %BASE_PATH%\install.bat