Jump to content

simple batch file question from a newbie


Recommended Posts

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.

Link to comment
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
Link to comment
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
Link to comment
Share on other sites

  • 3 weeks later...

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)

Link to comment
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.
×
×
  • Create New...