Support UNC file paths on Windows

Description

Stuff like this should be able to work on Windows:

Note, the extra backslashes are required since \ is an escape character in the CommandBox shell, so it must be escaped.

Gliffy Diagrams

Activity

Show:

Brad Wood October 26, 2017 at 4:12 AM
Edited

This seems to work with server name and IP address
Just make sure you escape the backslashes in the CLI with a double backslash like

Also, this doesn't work, it's a java limitation.

I put in a check with an error message that tells you to change into an actual shared folder, not the server root.

If the network share requires authentication, you must enter it in Windows Explorer and save it first or execute a "net use" OS command from the shell.

This needs thorough testing as it has affected pretty much every core function in CommandBox that handles file system paths. Also, be careful of performance on network shares. Doing something like "dir **" at the root of a large share might never finish.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Fix versions

Priority

Components

Sentry

Created May 17, 2017 at 8:06 PM
Updated October 26, 2017 at 4:29 AM
Resolved October 26, 2017 at 4:09 AM