On 22/11/06, Yang ZHONG <[EMAIL PROTECTED]> wrote:

Both .bat and .cmd are Windows official batch scripts file extention.
.bat might have a little bit more meaningful name, a little bit longer
history and a little bit more popularity :-)


On 11/21/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
>
> Pete Robbins wrote:
> > On 21/11/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >>
> >> Our samples directory contain a mix of .bat and .cmd files:
> >>
> >> ./samples/CppCalculator/deployclient.bat
> >> ./samples/CppCalculator/deploy.bat
> >> ./samples/CppCalculator/deploywsclient.bat
> >> ./samples/CppBigBank/deployclient.bat
> >> ./samples/CppBigBank/deploy.bat
> >> ./samples/CppBigBank/deploywsclient.bat
> >>
> >> ./samples/RubyBigBank/deploy.cmd
> >> ./samples/RubyCalculator/deploy.cmd
> >> ./samples/PythonCalculator/deploy.cmd
> >> ./samples/RestCalculator/deploy.cmd
> >>
> >> I'd like to make this consistent, either all .bat or all .cmd. Which
> one
> >> do you prefer?
> >>
> >> --
> >> Jean-Sebastien
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > Does anyone know what the difference is?
> >
>
> I am not aware of any difference. Some posts on the Web claim that .bat
> run with command.com and .cmd with cmd.exe... but I just tested and on
> Windows XP SP2 both run with cmd.exe.
>
> We're targeting Windows rather than MS-DOS so I would suggest to go with
> .cmd but since my primary platform is Linux I thought I'd let Windows
> developers decide :)
>
> Let me know what you prefer and I'll take care of the SVN renames and
> the other necessary adjustments.
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--

Yang ZHONG



We have 52 .bat files and 35 .cmd files in the cpp tree so I'd recommend
changing to .bat if we must!

Cheers,


--
Pete

Reply via email to