on windows, we can load scripts with UNC filename:
\l //wi/c/tmp.q
we can load csv:
t: … 0:`://wi/c/tmp.csv
but we can’t save:
save `://wi/c/t.csv
'//wi/c/t.csv. OS reports: The specified path is invalid.
`://wi/c/t.txt 0:enlist"text"
'//wi/c/t. OS reports: The specified path is invalid.
any workarounds?
I found that if you replace forward-slash /' with the normal backward ones
', it will work properly.
>
replace forward-slash /' with the normal backward ones
'
these three experiments with saving to UNC filenames didn’t work
q)save `:\wi\c\t.csv
'</font>
[0] save `:\wi\c\t.csv
^
q)save `\wi\c\t.csv
'</font>
[0] save `\wi\c\t.csv
^
q)save `://wi/c/t.csv
'//wi/c/t.csv. OS reports: The specified path is invalid.
[0] save `://wi/c/t.csv
^
save hsym`$“\\wi\c\t.csv”
or
save$ssr[;"/";"\\"]string
://wi/c/t.csv