You test for success/fail of USE by checking the @ERROR macro like:
code:
use x: '\\sever\share'
if @ERROR
? ''+@ERROR+' - '+@SERROR
else
? 'Success'
endif

_________________________
There are two types of vessels, submarines and targets.