Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Windows / How can one specify a UNC (network) path with the "raw" prefix?

Author
Message
adambiser
AGK Developer
9
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 27th Mar 2018 21:46
The subject is my question:
How can one specify a UNC (network) path with the "raw" prefix?

A tier 1 application running from a UNC path can load files using a relative path, but I can't get a "raw" UNC path to work.
I've tried:
raw:\\HOST\path\file.ext (with 2 to 5 leading backslashes)
raw://HOST/path/file.ext (with 2 to 5 leading slashes)
raw:file://///HOST/path/file.ext (with 2 to 5 leading slashes)

This works for non-UNC paths, but fails on UNC paths:
"raw:" + GetReadPath() + GetFolder() + "buttons.png"

Adding the "raw:" prefix to the full path returned by ChooseRawFile does not work. (It's in the double backslash format listed above.)

Login to post a reply

Server time is: 2024-11-21 12:48:55
Your offset time is: 2024-11-21 12:48:55