pre-condition is that you don't use absolute path-names in your commands - you have to use variables like %CDROM% or %WPIPATH%.
If you use such variables you can use the following Script to run WPI from a network-share.
CODE
@ECHO OFF
::This should be the path to WPI on the share
SET SHARE=\\SERVER\SHARE
::mount share to a free drive and change directory to it. After Script it finished the drive will be unmounted
PUSHD "%SHARE%"
START /wait WPI.hta
POPD
::This should be the path to WPI on the share
SET SHARE=\\SERVER\SHARE
::mount share to a free drive and change directory to it. After Script it finished the drive will be unmounted
PUSHD "%SHARE%"
START /wait WPI.hta
POPD
That's all
Greetings
Al
