View Single Post
  #5  
Old April 13th 21, 10:20 AM posted to microsoft.public.windowsxp.help_and_support
JJ[_14_]
external usenet poster
 
Posts: 46
Default Script to open text file.

On Mon, 12 Apr 2021 13:29:21 -0700 (PDT), Ivan Denisovich wrote:

With my apologies John, I miswrote. The file is, in fact, ".bat". Any
thoughts about the problem I described?

Thanks for posting, and sorry again for my mistake.


It could probably due to broken file type association. Check with the ASSOC
and FTYPE commands. e.g.

C:\assoc .bat
..bat=batfile

C:\ftype batfile
batfile="%1" %*
Ads