helloI have the following, small question:
<>
SELECT
CASE (@INWIN = 1) AND (@DOS >= 5) $OSConnection = "USE "
CASE (@INWIN = 1) AND (@DOS >= 4) $OSConnection = "SUBST "
CASE (1) $OSConnection = "USE"
ENDSELECT
;<>
$OSConnection S: "\\CHSVR1\Sales" /PERSISTENTthe idea is, that we have NT & W2K in our network, an from what I found out is, that if you just use "USE S: "\\CHSVR1\Sales" for the connect - on the NT Clients you'll have the S: but you can't connect to it through an application, you first have to click on it in the file explorer and afterwards it's just running fine... if I connect it with SUBST (for nt4 of course) then it works from the beginning...
I found a lot of usefull information in this forum already (about shares, OS detection and so on) but most of the scripts I found were just to luxurios for our case, especially for the poor guy who has to handle it when I finished it ;-) so, therefore I'm really looking for a KISS solution (I presume it's just a matter on how to write the command correct)
thnks
.Ralph