Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > DOS script prob...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 455 of 494
Post > Topic >>

DOS script problem

by GT <g.thibaudeau@[EMAIL PROTECTED] > Aug 21, 2007 at 10:50 AM

Hello,
I have to take over a large, multi-language, software whose information 
flow control is done via dos scripts : the code is made of dozens of 
fortran files that are executed according to a complex dos-made menu
system.
My problem thus far is to identify what is called when a choice from a 
menu is made.
Choosing an item is done simply by pressing a single key (no "Return") 
which calls up either the required program or another menu etc ...
This program has been written by several people at different times over 
the last 30 years and so documentation is severely outdated.
So, to play with it I have to know what goes on behind these menus. To 
do this my idea is to create some kind of log (real-time or not) that 
record both the key pressed and what is done by that action. I already 
have modified the fortran so it prints something out whenever such or 
such part is called, but I need to add - before the fortran is called - 
what key is pressed. So I need to be able to open a file and print the 
alphanumeric symbol corresponding to the key pressed, and then the 
fortran - or next menu - is called. If another menu shows up it also 
needs to update the log file.
Basically that's it. Very simple but I have not found very explicit help 
on the matter. The dos scripts are obscure at best and the info is held 
within variables.
The one thing I had rather not do it delve into DOS technicalities since 
  once I get this logging system done I am going to drop dos altogether 
(change of OS - company policy). So I only need this little thing - I 
think, so far anyway.

Thank you, any help welcome!

G.T.




 10 Posts in Topic:
DOS script problem
GT <g.thibaudeau@[EMAI  2007-08-21 10:50:45 
Re: DOS script problem
"Klaus Meinhard"  2007-08-21 21:21:07 
Re: DOS script problem
GT <g.thibaudeau@[EMAI  2007-08-22 15:03:31 
Re: DOS script problem
"Todd Vargo" &l  2007-08-22 21:32:21 
Re: DOS script problem
GT <g.thibaudeau@[EMAI  2007-08-23 12:49:40 
Re: DOS script problem
"Dave R." <d  2007-08-23 07:46:16 
Re: DOS script problem
"Todd Vargo" &l  2007-08-23 21:53:35 
Re: DOS script problem
ak621@[EMAIL PROTECTED]   2007-08-22 14:50:04 
Re: DOS script problem
GT <g.thibaudeau@[EMAI  2007-08-23 12:51:56 
Re: DOS script problem
"Dave R." <d  2007-08-23 07:32:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 12:54:00 CDT 2008.