.bat files are actually text files which are input to cmd.exe
Yeah, I know what they *are*. (I cut my teeth on PC-DOS 3.3, so I've written a couple of batch files. I once
joked about writing interactive fiction as a series of
DOS3 batch files for an abuse-of-language contest. Of
course, Zarf's threat to do one in PostScript was a bit
more impressive...) But the registry assocation that
Explorer uses is set up (at least in Win9x/Me, by
default) exactly the same way as for EXE files:
@="\"%1\" %*"
That is, they're directly executable. And there's
obviously no magic number in them— they don't
even have to have the trailing ^Z (EOF) any more
in Windows. So I was wondering how the API can
determine that they're batch files, if not by
looking at the extension _again_ after Explorer
has handed off to CreateProcess.
"In adjectives, with the addition of inflectional endings, a changeable long vowel (Qamets or Tsere) in an open, propretonic syllable will reduce to Vocal Shewa. This type of change occurs when the open, pretonic syllable of the masculine singular adjective becomes propretonic with the addition of inflectional endings."
— Pratico & Van Pelt, BBHG, p68
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.