THXMAN

simple batch file question from a newbie

22 posts in this topic

I've tried both ways if you mean between {BATCH} and the rest. With space or not.

Forgot to mention that wpi version is 8.1.0. Last time I've failed to move correctly config files in the newer version and it was not working. Anyway if I solve this now this will be an easy task.

0

Share this post


Link to post
Share on other sites

Tested like this and works fine for me:

Run.bat


@echo off
echo Installing Java
for %%a in (%wpipath%\Install\JAVA\*.exe) do "%%a" /s

Run.bat and jre-7u4-windows-i586.exe are inside the same folder JAVA

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

It keeps failing for me maybe something is wrong with my wpi now. I'll try to make a new one and run the batch.

Edit: In the latest (8.6.2) It seems ok, I get success message.

Edit: At first I had some path mistakes and It didn't work but now it is ok. Thanks myselfidem. I 've read many times about commands but when I combine them I get confused.

This is awesome for me, now wpi will be my right had. I help many friends with windows installation because services there are no good and expensive.

And there is great effort made to the latest wpi.... thank you.

Edited by stsaerox
0

Share this post


Link to post
Share on other sites

Tested like this and works fine for me:

Run.bat


@echo off
echo Installing Java
for %%a in (%wpipath%\Install\JAVA\*.exe) do "%%a" /s

Run.bat and jre-7u4-windows-i586.exe are inside the same folder JAVA

If I run a command like this and wpi is not at the root of the drive it fails. Is it the way that just wpi works or I've done something wrong?

(I'm asking this because in every suggested path in help files I've read, wpi folder is at the root of a drive)

0

Share this post


Link to post
Share on other sites

WPI folder must be at the root of your DVD like explained inside the manual.

It's not recommended to change the path and the WPI folder!

0

Share this post


Link to post
Share on other sites

Oh that's true then... Ok I had something in mind that would be convenient but I should find another way.

Thanks again..

0

Share this post


Link to post
Share on other sites

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.