WUFI 4.0.1.208 Batch Help File Recommendations

Everything that didn't fit in any other topic
Post Reply
Ned Lyon
WUFI User
WUFI User
Posts: 22
Joined: Mon Jan 16, 2006 9:42 am -1100
Location: Boston, MA - USA
Contact:

WUFI 4.0.1.208 Batch Help File Recommendations

Post by Ned Lyon » Fri Jan 20, 2006 10:41 am -1100

I think the help file for Batch Job should be clarified a little more for users who are not computer experts. The line:

WUFI ProjectFileName [Options]

can be easily missunderstood to mean type WUFI or WUFI.exe to the run command or to a .BAT file to start the program. However, one must type the full path because the durrent install process does not register WUFI.exe with the operating system (I'm not sure I would recommend registering since I often have multiple versions on one machine). So we need to type:

C:\Program Files\IBP-Software\WUFI4\WUFI.exe

This does not work either because command line execution does not like spaces. We must use the old 8.3 shorthand:

C:\Progra~1\IBP-Software\WUFI4\WUFI.exe

This also means that ProjectFilePath/Name can not have spaces either. I think including this information in the help file would be very useful. Perhaps all you need is a full sample command line and a note about spaces in file and path names.
Ned at SGH

Manfred Kehrer
WUFI International Support Team
WUFI International Support Team
Posts: 351
Joined: Thu Mar 10, 2005 2:17 am -1100
Location: Northbrook, IL; USA
Contact:

Re: WUFI 4.0.1.208 Batch Help File Recommendations

Post by Manfred Kehrer » Sat Jan 21, 2006 11:11 pm -1100

Ned Lyon wrote:I think the help file for Batch Job should be clarified a little more for users who are not computer experts. The line:

WUFI ProjectFileName [Options]



can be easily missunderstood to mean type WUFI or WUFI.exe to the run command or to a .BAT file to start the program. However, one must type the full path because the durrent install process does not register WUFI.exe with the operating system (I'm not sure I would recommend registering since I often have multiple versions on one machine). So we need to type:

C:\Program Files\IBP-Software\WUFI4\WUFI.exe
But only if you have installed WUFI there and only if you have an english system. A german system has "C:\Programme\IBP-Software" by default so you see it´s not so easy to write this for every user. So we have then to write "%INSTDIR%/WUFI4\WUFI.exe" where %INSTDIR% is the installation path. But then i think it is not easier to explain this "not computer experts"
Ned Lyon wrote: This does not work either because command line execution does not like spaces. We must use the old 8.3 shorthand:

C:\Progra~1\IBP-Software\WUFI4\WUFI.exe
These quotes will work: "C:\Program Files\IBP-Software\WUFI4\WUFI.exe" -c -f

Thank you for thinking about WUFI improvements
Manfred
Wiss, Janney, Elstner Associates, Inc.
Official WUFI® Collaboration Partner for USA/Canada
Enjoy WUFI® :) .... It is easy and complex.

MikeSW
WUFI User
WUFI User
Posts: 6
Joined: Tue Jan 11, 2011 2:48 am -1100
Location: Germany / Finland

Batch example

Post by MikeSW » Tue Apr 10, 2012 3:33 am -1100

Hello,

I managed to open my Wufi file with a cmd file. However with the command -C after the filename, it does not start any calculation.

Can someone please post an existing batch file that is executing a calculation?

I use WuFi Pro 5.1

Thanks, Michael

Christian Bludau
WUFI SupportTeam IBP
WUFI SupportTeam IBP
Posts: 1129
Joined: Tue Jul 04, 2006 10:08 pm -1100
Location: IBP Holzkirchen, the home of WUFI
Contact:

Post by Christian Bludau » Tue Apr 10, 2012 4:08 am -1100

Hi Michael,

for me this line works:

Code: Select all

 "c:\Program Files\IBP-Software\WUFI5\Wufi.exe" "d:\flat roof.w5p" -c 
Make sure, that the paths are existing and if there is a space in the path, use question marks. See also the online help of Wufi, topic: batch

Best regards,
Christian

MikeSW
WUFI User
WUFI User
Posts: 6
Joined: Tue Jan 11, 2011 2:48 am -1100
Location: Germany / Finland

Post by MikeSW » Tue Apr 10, 2012 10:50 pm -1100

Hallo Christian,

danke, jetzt haut es hin.

Grüsse, Michael

MikeSW
WUFI User
WUFI User
Posts: 6
Joined: Tue Jan 11, 2011 2:48 am -1100
Location: Germany / Finland

Post by MikeSW » Wed Oct 24, 2012 9:43 pm -1100

Hallo Christian,

nochmal eine kurze Frage zum code für die Batch-Datei:

Wie schreibe ich rein, dass WuFi mehrere *.wp5 Dateien nacheinander berechnen soll?

Hier mein bisheriger code (alles in einer Zeile):
"C:\Programme Arbeit\IBP-Software\WUFI5\WUFI.exe" "D:\Wufi Ripa\101209 - Ripa Varianten\121023-variations A.w5p" "D:\Wufi Ripa\101209 - Ripa Varianten\121023-variations B.w5p" "D:\Wufi Ripa\101209 - Ripa Varianten\121023-variations C.w5p" "D:\Wufi Ripa\101209 - Ripa Varianten\121023-variations D.w5p" "D:\Wufi Ripa\101209 - Ripa Varianten\121023-variations E.w5p" "D:\Wufi Ripa\101209 - Ripa Varianten\121023-variations F.w5p" -C -s

Bis jetzt berechnet er die erste Datei und stoppt dann.

Danke und Gruss,

Michael

Christian Bludau
WUFI SupportTeam IBP
WUFI SupportTeam IBP
Posts: 1129
Joined: Tue Jul 04, 2006 10:08 pm -1100
Location: IBP Holzkirchen, the home of WUFI
Contact:

Post by Christian Bludau » Wed Oct 24, 2012 9:47 pm -1100

Hallo Michael,
die batch-Datei muss für jede w5p eine eigene Zeile enthalten...

Code: Select all


 "c:\Program Files\IBP-Software\WUFI5\Wufi.exe" "d:\file1.w5p" -c 
 "c:\Program Files\IBP-Software\WUFI5\Wufi.exe" "d:\file2.w5p" -c 
 "c:\Program Files\IBP-Software\WUFI5\Wufi.exe" "d:\file3.w5p" -c 
Christian

MikeSW
WUFI User
WUFI User
Posts: 6
Joined: Tue Jan 11, 2011 2:48 am -1100
Location: Germany / Finland

Post by MikeSW » Thu Oct 25, 2012 12:33 am -1100

Hallo Christian,

Läuft.

Danke.

Gruss.

Michael

Manfred Kehrer
WUFI International Support Team
WUFI International Support Team
Posts: 351
Joined: Thu Mar 10, 2005 2:17 am -1100
Location: Northbrook, IL; USA
Contact:

Post by Manfred Kehrer » Thu Oct 25, 2012 1:34 am -1100

Hallo Michael,

ich glaube dass der gennante Code keine Sinn macht. Es wird zwar gerechnet, aber keinerlei Ergenisse gespeichert oder exportiert. Darum:

Code: Select all

"c:\Program Files\IBP-Software\WUFI5\Wufi.exe" "d:\file1.w5p" -c -s
Manfred
Wiss, Janney, Elstner Associates, Inc.
Official WUFI® Collaboration Partner for USA/Canada
Enjoy WUFI® :) .... It is easy and complex.

Post Reply