Skip to content

Invocation fails if %0 is "prog" instead of "path\to\prog" and prog was quoted when invoked #10

Closed
cnpm/npminstall
#315
@staticshock

Description

@staticshock

Try "jshint" --version in cmd.exe, for instance. It won't work because it seems that cmd.exe doesn't set %~dp0 correctly when a batch script is quoted during invocation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions