MyPantsAreOnFire
asked on
Net use and Windows 98
I have a domain username that is used across several stations by several users. Every station is win2k or winxp except for one, which is win98. Anytime this user logs in, a login script is run that runs this:
Net use k: \\servername\sharename /persistent:no
Now this works well and fine on all of the machines except for the windows 98 machine, because the windows 98 version of net use does not support the /presistent switch.
This one is actually a two parter.
First, if I use the net use command in a win9x environment, is it treated as temporary or persistent connection?
Second, is there anyway to set up a batch file so that It checks which version of windows is currently running, and then save that as a DOS variable?
Net use k: \\servername\sharename /persistent:no
Now this works well and fine on all of the machines except for the windows 98 machine, because the windows 98 version of net use does not support the /presistent switch.
This one is actually a two parter.
First, if I use the net use command in a win9x environment, is it treated as temporary or persistent connection?
Second, is there anyway to set up a batch file so that It checks which version of windows is currently running, and then save that as a DOS variable?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.