Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Quoted filename path leads to an error #16

Copy link
Copy link

Description

@EuropeanDeveloper
Issue body actions

Let’s have user.js file stored on C:\My Folder\user.js.

Run Compare-UserJS.bat or Compare-UserJS.ps1. After using drag and drop it looks like this:
filepath_A: “C:\My Folder\user.js”

When the path contains whitespace, quotes are automatically added. Running the script now leads to an error:
Split-Path : Cannot find drive. A drive with the name '"C' does not exist.

However, if I manually remove quotes (filepath_A: C:\My Folder\user.js) it works. When using drag and drop function there should be no further action required (like removing quotes), especially when it is mentioned as an alternative in Compare-UserJS.bat.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.