Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

New to forum, new to DOS, kinda (Announce)

posted by wayne(R) E-mail, Central Ohio, 07.03.2014, 22:31

> what exactly is your question?

As posted (word for word) . . .
What I've been searching for is what you could call a DOS manual. Or a "How to program in DOS 101?. A source that would include the "how and why" of using a time stamp. How to get it converted to a numeric value.

> what's the language and compiler for these programs?

CMES For Windows, 32 bit. That's all I know.
http://www.nikonmetrology.com/Products/Coordinate-Measuring-Machines

Here's another option. I don't know what compiler is used, etc. So here's the code I need changed. Maybe you can tell me the language and compiler.

The following code is near the end of the program. In a nutshell, the serial number is input at the beginning of the program run. We add a "C" to the input. So all serial numbers/file names start with "C". And I want to append time stamp data (or some kind of unique value) to the end of the file name. So each time I run the same serial number, the saved file name is different.

PA,1,MOVE.PRG,NEW
OP,'^Z'
! OP,'PRI C',(SN),'.RPT >NUL'
OP,(T),'COPY C',(SN),'.RPT C:\PARSE >NUL',(T)
OP,(T),'COPY C',(SN),'.RPT Q:\CMM_DATA\',(F),'\PWAFILES\',(WAXDIE),' >NUL',(T)
OP,(T),'COPY C',(SN),'.RPT Q:\CMM_DATA\',(F),'\GPFILES >NUL',(T)
OP,'DEL C',(SN),'.RPT >NUL'
OP,'^Z'
OP,'ET,CL'
EP,1
TI,MOVE.PRG

---
If it ain't broke, stop tryin' ta fix it!

 

Complete thread:

Back to the forum
Board view  Mix view
15194 Postings in 1365 Threads, 250 registered users, 18 users online (0 registered, 18 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum