devxlogo

Batch files won’t run

Batch files won’t run

Question:
My batch files don’t run anymore. I’ve changed the association for editting them, and now that is the default action. Also, the “add” button is disabled in the edit action dialog. The “open” (executable) option is no longer there. How do I reset this? At the moment, they can’t be ran from explorer.

Answer:
You should be able to adjust this directly in the registry. Go to HKEY_CLASSES_ROOT and look under batfileshellopencommand. The standard default value is “%1” %*

See also  lenso.ai - an AI reverse image search platform
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist