Access mounted volumes on Windows from LC?

Klaus major-k klaus at major-k.de
Wed Jun 22 10:53:11 EDT 2016


Hi Ben,

> Am 22.06.2016 um 13:02 schrieb Ben Rubinstein <benr_mc at cogapp.com>:
> 
> I need to deploy an app to a remote Windows machine which is not under my control.
> The app needs to inspect a folder on a mounted drive.  Traditionally this was just mounted as a letter, e.g. "Z:\" or similar; my app worked fine.
> But modern Windows systems use volume names, so a folder on such a drive may have the path (in Windows notation) like:
> 	\\volname\folder1\folder2
> Attempting to access it using any of the forms
> 	/volname/folder1/folder2
> 	\volname\folder1\folder2
> 	\\volname\folder1\folder2
> 	//volname/folder1/folder2
> fails (although the error is different in the last case).
> How can I access such a path?

hm, just made a test on Windows 10 with LC 8.01 and this script:
...
set the folder to "//Mac/Home/Downloads"
## I got the folder path with "answer folder xxx;put it"
put the files into fld 1
...
And it worked without problem!?

> TIA,
> 
> Ben

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list