March 5, 200521 yr Here is what I have in my wpi config for one of the apps:%usb%\spybotsd13.exe /verysilent /sp-<{POST_SNAPBACK}>That may be, but my point is, %usb% wont be set unless something similar to that IF EXIST statement is configured in WPI.. otherwsie WPI isnt gonna know what the heck %usb% is.
March 7, 200521 yr Author I have edited the WPI.cmd to include usb but it doesn't seem to work. Here is the code I have used:@ECHO OFFREMREM WPI startup something.REM REM Example, how to look for CDROM-drive. Must have a file called WIN51 in its root.for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WIN51 set CDROM=%%i:echo Found CD-Rom as drive %CDROM%REM Example, how to look for USB-drive. Must have a file called usb.txt in its root.for %%h in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%h:\usb.txt set USB=%%h:echo Found USB as drive %USB%
March 7, 200521 yr Again.. try posting up in the WPI forum section.... youd be much more likely to get an answer there
Create an account or sign in to comment