[GiDlist] win.bat problems under win2000/win98
Posted: Mon Dec 22, 2003 4:01 pm
OS win2000 &/or Win98 GiD6.3.0b
Hi gidteam
Merry Christmas & a happy new year to all.
I have the following LINES (BETWEEN THE ) in my probtype.win.bat
file;
%3\empty_file.exe %1-3.dat
IF NOT ERRORLEVEL 1 GOTO END
del %2\compgrid.mrk
del %2\volts.flavia.res
del %2\volts.flavia.msh
copy %1.dat %1.flavia.msh
rename %1-3.dat compgrid.mrk
:END
empty_file.exe returns 0 if %1-3.dat is empty & 1 otherwise. When I launch
calculate from GiD this works correctly under win2000 but not on win98, and
works fine from the command line if I type the lines in the results
directory in either OS? It is as if the value that empty_file returns is
somehow overwritten when launched from gid via the calculate command. Any
comments?
Regards
Mark
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.552 / Virus Database: 344 - Release Date: 15/12/2003
The information contained in this e-mail message (and any attachment
transmitted herewith) is privileged and confidential and is intended for the
exclusive use of the addressee(s). If you are not an addressee, any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited. If you have received this
communication in error, please contact us immediately so that we can correct
the error.
Hi gidteam
Merry Christmas & a happy new year to all.
I have the following LINES (BETWEEN THE ) in my probtype.win.bat
file;
%3\empty_file.exe %1-3.dat
IF NOT ERRORLEVEL 1 GOTO END
del %2\compgrid.mrk
del %2\volts.flavia.res
del %2\volts.flavia.msh
copy %1.dat %1.flavia.msh
rename %1-3.dat compgrid.mrk
:END
empty_file.exe returns 0 if %1-3.dat is empty & 1 otherwise. When I launch
calculate from GiD this works correctly under win2000 but not on win98, and
works fine from the command line if I type the lines in the results
directory in either OS? It is as if the value that empty_file returns is
somehow overwritten when launched from gid via the calculate command. Any
comments?
Regards
Mark
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.552 / Virus Database: 344 - Release Date: 15/12/2003
The information contained in this e-mail message (and any attachment
transmitted herewith) is privileged and confidential and is intended for the
exclusive use of the addressee(s). If you are not an addressee, any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited. If you have received this
communication in error, please contact us immediately so that we can correct
the error.