Skip to content

Console and shell won't launch with bat or vbs associated with non-default #2

@keeganwitt

Description

@keeganwitt

If you have a non-default association with the .bat extension (for example, Notepad++), the console and shell shortcuts won't launch. This can be checked with

>assoc .bat
.bat=Notepad++_file
>assoc .vbs
.vbs=Notepad++_file

This can be fixed with (requires cmd to be run as administrator)

assoc .bat=batfile
assoc .vbs=VBSFile

The .cmd extension (also a batfile) doesn't cause any issues with launching console/shell, but is another one to be aware of.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions