[GiDlist] Problem with batch file
Posted: Wed Jul 10, 2002 2:29 pm
Hi,
I've written an extension for tochnog that runs on both gid versions (6 and 7). I have automatized the calculation with tochnog with a batch file of following sort:
rem basename=%1
rem directory=%2
rem ProblemDirectory=%3
pause
move C:\Programme\Gid6.1.2\Projects\%1.gid\%1.dat C:\Programme\Gid6.1.2\Tochnog\
pause
cd C:\Programme\Gid6.1.2\Tochnog\
tochnog %1.dat
pause
move C:\Programme\Gid6.1.2\Tochnog\%1.dbs c:\Programme\Gid6.1.2\Projects\%1.gid\
move C:\Programme\Gid6.1.2\Tochnog\%1.flavia.dat c:\Programme\Gid6.1.2\Projects\%1.gid\
move C:\Programme\Gid6.1.2\Tochnog\%1.flavia.mesh c:\Programme\Gid6.1.2\Projects\%1.gid\
move C:\Programme\Gid6.1.2\Tochnog\%1.flavia.res c:\Programme\Gid6.1.2\Projects\%1.gid\
move C:\Programme\Gid6.1.2\Tochnog\%1.dat c:\Programme\Gid6.1.2\Projects\%1.gid\
del C:\Programme\Gid6.1.2\Tochnog\%1.run
Now this worked well on the version 6.1.2 of gid, but since I have installed the new version, every time I start the calculation, the batch file isn't executed. I guess there is some sort of conflict which I don't understand. My operating system is win2000. Could you tell me, why my batch file isn't executed after the writing of the dat file? I tried to rename the command application inside the gid7.0 directory, but that didn't work either.
best regards, Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020710/019296e9/attachment.htm
I've written an extension for tochnog that runs on both gid versions (6 and 7). I have automatized the calculation with tochnog with a batch file of following sort:
rem basename=%1
rem directory=%2
rem ProblemDirectory=%3
pause
move C:\Programme\Gid6.1.2\Projects\%1.gid\%1.dat C:\Programme\Gid6.1.2\Tochnog\
pause
cd C:\Programme\Gid6.1.2\Tochnog\
tochnog %1.dat
pause
move C:\Programme\Gid6.1.2\Tochnog\%1.dbs c:\Programme\Gid6.1.2\Projects\%1.gid\
move C:\Programme\Gid6.1.2\Tochnog\%1.flavia.dat c:\Programme\Gid6.1.2\Projects\%1.gid\
move C:\Programme\Gid6.1.2\Tochnog\%1.flavia.mesh c:\Programme\Gid6.1.2\Projects\%1.gid\
move C:\Programme\Gid6.1.2\Tochnog\%1.flavia.res c:\Programme\Gid6.1.2\Projects\%1.gid\
move C:\Programme\Gid6.1.2\Tochnog\%1.dat c:\Programme\Gid6.1.2\Projects\%1.gid\
del C:\Programme\Gid6.1.2\Tochnog\%1.run
Now this worked well on the version 6.1.2 of gid, but since I have installed the new version, every time I start the calculation, the batch file isn't executed. I guess there is some sort of conflict which I don't understand. My operating system is win2000. Could you tell me, why my batch file isn't executed after the writing of the dat file? I tried to rename the command application inside the gid7.0 directory, but that didn't work either.
best regards, Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020710/019296e9/attachment.htm