The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: baltoro on August 25, 2011, 08:52:32 PM

Title: Batch File Programming
Post by: baltoro on August 25, 2011, 08:52:32 PM
Awhile back in some MASM thread discussion,...Hutch made a comment about batch files (Here (http://www.masm32.com/board/index.php?topic=16738.msg139229#msg139229)),...and, having no idea what he meant,...I asked about it. Apparently, Raymond Chen has spies that are monitoring the MASM Forum for juicy programming tidbits,...because, today in his blog he reveals some really ancient intel about StdIn: Stupid Command-Line Trick: Counting the Number of Lines in StdIn (http://blogs.msdn.com/b/oldnewthing/archive/2011/08/25/10200026.aspx)
...And, here's something I didn't know:
Quote from: RAYMOND CHEN...And back then (1982), pretty much all of MS-DOS was written in assembly language,...
Of course, there's an awful lot of stuff I don't know,...
Although, Dave's clearly the front-runner in this catagory,...I'm a close second,... :eek

EDIT: Corrected date above.
Title: Re: Batch File Programming
Post by: raleeper on August 26, 2011, 06:12:50 PM
Thanks for the references.  Not useless.  Solidified my understanding of the ExitProcess return value.

Thanks, Robert
Title: Re: Batch File Programming
Post by: clive on August 26, 2011, 09:10:43 PM
Quote from: baltoro on August 25, 2011, 08:52:32 PM
...And, here's something I didn't know:
Quote from: RAYMOND CHEN...And back then (1082), pretty much all of MS-DOS was written in assembly language,...

Either you pasted that wrong, or he corrected it later, cause I'm pretty sure we weren't using MS-DOS 16 years after the Norman Conquest. Anyway made me laugh. I thought they programmed it using some rich tapestry.

(http://medievalarchive.files.wordpress.com/2011/02/bayeux-tapestry.jpg)
Title: Re: Batch File Programming
Post by: baltoro on August 26, 2011, 09:41:50 PM
Ha,...Ha,...
This is the main reason I'm such a crappy programmer,...typos,... :eek
Title: Re: Batch File Programming
Post by: dedndave on August 26, 2011, 11:45:19 PM
i get the impression that Clive was present at that little party
he probably programmed their GPS, which would account for the defeat of the Brits   :bg
Title: Re: Batch File Programming
Post by: hutch-- on August 27, 2011, 12:49:38 AM
 :bg

I imagine the problem was Harold Godwinson was still developing his guidance systems in Motorola 68k assembler while William was using C++.