Re: .bat vs .cmd
- From: "Shenan Stanley" <newshelper@xxxxxxxxx>
- Date: Sun, 8 Jan 2006 17:06:42 -0600
jda wrote:
> Is there someone who can tell me the actual difference between
> files with .bat and .cmd extensions other than .cmd will not run
> under win9x systems. I have tried microsoft.com and a lot of
> googleling but have not yet found an answer other than being
> recommended to use .cmd when scripting for XP
Just a file extension. Both are the same in Windows XP.
..bat == .cmd, according to the REGISTRY (wow, looked far for that one...)
..cmd is just "NT command line program" or something, while .bat is a "batch
script" (it's just a name, they both do exactly the same.)
Why use one over the other? Consistency with the features of the OS or
compatibility with older OSes.
--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html
.
- Follow-Ups:
- Re: .bat vs .cmd
- From: Wesley Vogel
- Re: .bat vs .cmd
- From: jda
- Re: .bat vs .cmd
- From: David H. Lipman
- Re: .bat vs .cmd
- References:
- .bat vs .cmd
- From: jda
- .bat vs .cmd
- Prev by Date: Re: by reinstall backup directory
- Next by Date: Re: Too much protection?
- Previous by thread: .bat vs .cmd
- Next by thread: Re: .bat vs .cmd
- Index(es):