[GiDlist] About the command application and the batch file
Posted: Tue Jul 30, 2002 2:48 pm
Hi everybody,
I've written a GiD-extension for tochnog and I am trying to run tochnog as an external program from within GiD 7.0. I'm working with GiD on two operating systems: win2000 and win2000NT. Since I've implemented a batch file for my extension (I have sent this file to you in a previous email), I have problems to make it work properly within GiD. First, I thought there was a problem with my batch file, but I realised that it works well on the win2000NT operating system when one condition is met:
I have removed the command.exe file within the GiD directory and replaced it by the command.com file of win2000NT. If I leave the command.exe file in the GiD directory, my batch file isn't executed, neither by the command.exe of GiD, nor by the command.com of win.
Now this works well on win2000NT, since the batch file is recognized and executed. The only problem is the fact that while executing the batch file, GiD seems to create two local hardrives with respectively the Project and the problemtype directory installecd on them:
f:\Project\...
g:\problemtype\...
This does not seem to affect win2000NT, since with every calculation two new local harddrives are created and the calculation is executed. All I have to do after the calculations is to reboot the system to cancel these local harddrives.
When I try to do the same on win2000, I get two error messages of following type:
1. problems creating process: 0x1f.: a hardware connected to the system does not function
2. Error executing
c:\Programme\GiD7.0\problemtypes\tochnog_automated7.gid\tochnog_automated7.bat bruchlast2d
f:\bruchlast2d.gid
g:\tochnog_automates7.gid
c:\Programme\GiD7.0\GiD.exe
bruchlast2d is the name of the project I've worked on and tochnog_automated7.gid the problemtype directory.
win2000 doesn't seem to recognize these newly created harddrives, and GiD stops the calculation.
I guess there must be some kind of error concerning the paths assigned to the project and problemtype directory in some tcl-script. Or did I get things completely wrong?
best regards,
Andreas Friedberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020730/1c839bdc/attachment.htm
I've written a GiD-extension for tochnog and I am trying to run tochnog as an external program from within GiD 7.0. I'm working with GiD on two operating systems: win2000 and win2000NT. Since I've implemented a batch file for my extension (I have sent this file to you in a previous email), I have problems to make it work properly within GiD. First, I thought there was a problem with my batch file, but I realised that it works well on the win2000NT operating system when one condition is met:
I have removed the command.exe file within the GiD directory and replaced it by the command.com file of win2000NT. If I leave the command.exe file in the GiD directory, my batch file isn't executed, neither by the command.exe of GiD, nor by the command.com of win.
Now this works well on win2000NT, since the batch file is recognized and executed. The only problem is the fact that while executing the batch file, GiD seems to create two local hardrives with respectively the Project and the problemtype directory installecd on them:
f:\Project\...
g:\problemtype\...
This does not seem to affect win2000NT, since with every calculation two new local harddrives are created and the calculation is executed. All I have to do after the calculations is to reboot the system to cancel these local harddrives.
When I try to do the same on win2000, I get two error messages of following type:
1. problems creating process: 0x1f.: a hardware connected to the system does not function
2. Error executing
c:\Programme\GiD7.0\problemtypes\tochnog_automated7.gid\tochnog_automated7.bat bruchlast2d
f:\bruchlast2d.gid
g:\tochnog_automates7.gid
c:\Programme\GiD7.0\GiD.exe
bruchlast2d is the name of the project I've worked on and tochnog_automated7.gid the problemtype directory.
win2000 doesn't seem to recognize these newly created harddrives, and GiD stops the calculation.
I guess there must be some kind of error concerning the paths assigned to the project and problemtype directory in some tcl-script. Or did I get things completely wrong?
best regards,
Andreas Friedberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020730/1c839bdc/attachment.htm