marlboroman Posted April 25, 2007 Posted April 25, 2007 (edited) hello from me I've been experimenting with WPI and after a bit of trail and error I've worked out how to use it to install programs and I've got to say it's amazing How fast programs install totally hassle free It's a great bit of programming.I am however a bit stuck with what to do with .exe files that just run and don't need to be installed I'm not good at dos commands but I have tried following and a few more but am getting nowhere with it.C:\Program Files\C:\Program Files\foobar2000\components\lame.exe"above is the path I want to send it to so I tryed"%CDROM%\work folder\WPI\Install\FILECOPY\C:\Program Files\foobar2000\components\lame.exe""%CDROM%\work folder\WPI\Install\FILECOPY\foobar2000\components\lame.exe""%CDROM%\work folder\WPI\Install\foobar2000\components\lame.exe""%CDROM%\\Install\foobar2000\components\lame.exe"and so forthIf any one could educated me on Werther this is even possible to move files using WP1 and if so how It would be much appreciatedps sorry for being a tool Edited April 27, 2007 by marlboroman
zorphnog Posted April 26, 2007 Posted April 26, 2007 (edited) You can use the built-in FILEMOVE or FILECOPY command to move/copy files. Both commands are used the same way. If you are trying to move files from a CD to the HDD then you will need to use FILECOPY since you cannot move files from read-only media.Syntax: FILECOPY [source] [destination]Examples: //copy all files in CopyFiles folder to components folder FILECOPY "%WPIPATH%\Install\CopyFiles\*.*" "C:\Program Files\foobar2000\components" //copy lame.exe to components folder FILECOPY "%WPIPATH%\Install\CopyFiles\lame.exe" "C:\Program Files\foobar2000\components"Make sure you use quotations for any paths that contain spaces, and that your destination folder exists (use MAKEDIR command to create a directory). Edited April 26, 2007 by zorphnog
marlboroman Posted April 26, 2007 Author Posted April 26, 2007 (edited) I managed to mess it up a few times, but then gave myself a slap to help me followed your simple instructions and it work like a charm (you just cant learn some people anything) Thanks for he help it really is appreciated I love this program and the next time my computer just stops working for no reason I can just reload xp relax wile WP1 takes care of every thing for me ,nap nap time for me and thanks again for the help cheers mate Edited April 26, 2007 by marlboroman
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