Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



THXMAN

simple batch file question from a newbie

Recommended Posts

stsaerox    0

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.

Share this post


Link to post
Share on other sites

myselfidem    5

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

Share this post


Link to post
Share on other sites
stsaerox    0

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

Share this post


Link to post
Share on other sites
stsaerox    0

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)

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.

×