The below works for me (I do not have any drive letter mapped to this server and shared directory):
mydefault="\\myserver\accounting"
set DEFAULT TO (mydefault)
MODIFY COMMAND junk.tst
>Hello All,
>Until now, most of our coding has been based on setting up the default by using the code:
>mydefa = sys(5) + sys(2003)
>set defa to (mydefa)
>
>Does VFP allow setting the default with UNC that is, without the drive letter? Our systems people are complaining about licensing issues and if we can get around coding without the drive letter, then we will avoid this permanent mapping and thus avoiud the licensing issue.
>
>Thanks,
>
>Sandy
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"