View Single Post
  #6  
Old April 13th 21, 08:44 PM posted to microsoft.public.windowsxp.help_and_support
Ivan Denisovich
external usenet poster
 
Posts: 16
Default Script to open text file.

On Tuesday, April 13, 2021 at 4:20:41 AM UTC-5, JJ wrote:
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" %*

I will try both suggestions. Many thanks to you & john for your help.
Ads