Jump to content

Recommended Posts

Posted (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 forth

If any one could educated me on Werther this is even possible to move files using WP1 and if so how It would be much appreciated

ps sorry for being a tool

Edited by marlboroman

Posted (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 by zorphnog
Posted (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 :realmad: I can just reload xp relax wile WP1 takes care of every thing for me ,nap nap time for me :zzz::thumbup

and thanks again for the help cheers mate

Edited by marlboroman

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...