Re: .bat vs .cmd
- From: "Wesley Vogel" <123WVogel955@xxxxxxxxxxx>
- Date: Sun, 8 Jan 2006 17:14:35 -0700
> .bat == .cmd, according to the REGISTRY (wow, looked far for that one...)
It took me little time at all with David Candy's ReportClassName.vbs.
---------------------------
Report Class Name
---------------------------
File Extension .cmd
File Class cmdfile
File Description Windows NT Command Script
Files of .cmd will be listed in the File Types dialog box as Windows NT
Command Script.
---------------------------
OK
---------------------------
---------------------------
Report Class Name
---------------------------
File Extension .bat
File Class batfile
File Description MS-DOS Batch File
Files of .bat will be listed in the File Types dialog box as MS-DOS Batch
File.
---------------------------
OK
---------------------------
Retrieve the Class Name for a File Extension
http://www.kellys-korner-xp.com/regs_edits/ReportClassName.vbs
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:OU3vygKFGHA.1032@xxxxxxxxxxxxxxxxxxxx,
Shenan Stanley <newshelper@xxxxxxxxx> hunted and pecked:
> 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
.
- References:
- .bat vs .cmd
- From: jda
- Re: .bat vs .cmd
- From: Shenan Stanley
- .bat vs .cmd
- Prev by Date: Re: .bat vs .cmd
- Next by Date: Re: Norton GoBack detects "multiboot disk" in Windows XP?
- Previous by thread: Re: .bat vs .cmd
- Next by thread: Re: .bat vs .cmd
- Index(es):
Relevant Pages
|