Click here for important information about

What's the difference between .BAT and .CMD ?

June 15, 2010 at 08:43:00
Specs: Windows XP
Using a batch-file with the ".BAT" extension is the same using ".CMD" extension ?

I created a batch-file under Windows XP and I gave it the extension ".BAT". This batch-file must be used only under Windows 2000/XP. It is incompatible with Windows 9x or below.
I read that to avoid a batch-file (created for WinNT*-only) be executed under Windows 9x I must rename it with the ".CMD" extension.

Now I was wondering, if I rename the file from "mybatch.BAT" to "mybatch.CMD" change anything?
It is just a way to distinguish the two files or something is changing? The command syntax is the same? Windows will execute the file in the same way?
Can I rename SAFELY any batch-file (created for Windows NT/2K/XP) from ".BAT" to ".CMD" extension?

thank you so much.

See More: Whats the difference between .BAT and .CMD ?

June 15, 2010 at 08:47:10
oops, sorry, I made another thread about that discussion because I thought someone deleted it because off-topic.
I apologize for the double thread.
Who wants can respond to this thread:

thank you!

Report •
Related Solutions

Ask Question