G
Gregory Mamayek
This is the original title for post: "Where can one find documentation on
Windows command shell?" dated :"Date: 28 Apr 2003 08:59:32 -0700"
The first one didn't run, but the second one did (listed further down in
thread).
I'm no expert, still learning the ropes here...LOL
Windows command shell?" dated :"Date: 28 Apr 2003 08:59:32 -0700"
The first one didn't run, but the second one did (listed further down in
thread).
I'm no expert, still learning the ropes here...LOL
Dean Wells said:I've not seen Richie's script, can you post it?
I've discovered no differences in the behavior between .BAT and .CMD
from Windows 2000 onwards.
Dean
--
Dean Wells [MVP / Windows platform]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l
Gregory Mamayek said:Dean:
Thanx for reply.
I am running WIN2K, but I do see a difference in that the .cmd's work,
while the .bat's don't. If I understand you correctly, this may be due to
the OS, or maybe it's the commands I'm using within the batch files.
I will have to play with some more examples to examine their behavior.
The best example is Ritchie's HTML CMD tool. It didn't work when I named
the batch file with .bat, but worked when I used .cmd.
Just a newbie...LOL
Dean Wells said:No difference in behavior ... whatsoever ... in the context of this
newsgroup at least.
Legacy extension implying batch of commands = .BAT
Uplevel extension implying shell script = .CMD
.BAT = common to x-DOS operating systems
.CMD = used by OS/2 and introduced in Windows NT4
Dean
--
Dean Wells [MVP / Windows platform]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l
Gang:\>
How come some files fire using .cmd, while others use .bat?
When would you use either one?
Is it because .cmd is for execution, while .bat is used to provide a
data source (ie. like web page .htm using SQL to call data source
.bat)?