You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.