Re: Issue in execution of batch files Windows XP Pro




"Bob I" <birelan@xxxxxxxxx> wrote in message
news:eH1Uda3bJHA.1528@xxxxxxxxxxxxxxxxxxxxxxx


Pegasus (MVP) wrote:

"Bob I" <birelan@xxxxxxxxx> wrote in message
news:%23xvaN7EZJHA.1328@xxxxxxxxxxxxxxxxxxxxxxx

Using the correct file type IS fixing the issue. What you are wanting is
is to avoid fixing the issue. You may be have the problem as a side
effect of a security update. What you are seeing is an opening and
closing of the file for each command. Simply correcting the extension
will cause desired behaviour.


I trust you've read the conclusion to this issue. Both .cmd and .bat are
"correct" extensions for a batch file and they are treated almost
identically by Windows. For all practical purposes you can use either
under Windows XP.

Yes, I did. I personally stick with CMD for NT operating systems, while I
use BAT on the 98 boxes.


This is probably a good idea because it automatically tags the files as
written for NT vs. Win9x style OSs.


.



Relevant Pages

  • Re: What is the difference between CMD and BAT file ?
    ... I have two .cmd files that are part of XP. ... my understanding is that BAT can be applied to both NT ... NOT be listed under non NT i.e. Windows 9x, Me, etc. ... typed in a Command Prompt or the Run command. ...
    (microsoft.public.windowsxp.general)
  • Re: What is the difference between CMD and BAT file ?
    ... ..CMD will be listed in PATHEXT under Set in NT in a command prompt and will ... NOT be listed under non NT i.e. Windows 9x, Me, etc. ... Files of .bat will be listed in the File Types dialog box as MS-DOS Batch ...
    (microsoft.public.windowsxp.general)
  • Re: What is the difference between CMD and BAT file ?
    ... BAT will not cause error message for commands like ... NOT be listed under non NT i.e. Windows 9x, Me, etc. ... typed in a Command Prompt or the Run command. ... File Extension .cmd ...
    (microsoft.public.windowsxp.general)
  • Re: Issue in execution of batch files Windows XP Pro
    ... Simply correcting the extension will cause desired behaviour. ... Both .cmd and .bat are "correct" extensions for a batch file and they are treated almost identically by Windows. ...
    (microsoft.public.windowsxp.general)
  • Re: Issue in execution of batch files Windows XP Pro
    ... Simply correcting the extension will cause desired behaviour. ... Both .cmd and .bat are "correct" extensions for a batch file and they are treated almost identically by Windows. ...
    (microsoft.public.windowsxp.general)

Loading