durex Posted March 5, 2005 Share Posted March 5, 2005 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. Link to comment Share on other sites More sharing options...
winston Posted March 7, 2005 Author Share Posted March 7, 2005 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% Link to comment Share on other sites More sharing options...
durex Posted March 7, 2005 Share Posted March 7, 2005 Again.. try posting up in the WPI forum section.... youd be much more likely to get an answer there Link to comment Share on other sites More sharing options...
winston Posted March 8, 2005 Author Share Posted March 8, 2005 ok moved onto wpi forum and linked to this topic. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now