How do I fix .bat files that have lost their associations?

A. Fixing .bat files that have lost their associations is simple. Enter the following commands.

ftype batfile="%1" %*
assoc .bat=batfile
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish