As a novice in batch files & shell scripting,I have learnt so participating on this site.As a Practice routine I have implemented a basic script to map net drive for nt40 & win95.here is the script i wrote
@echo off
rem xxxxx Unilogin Script.
if “%os% ==”windows_nt” goto nt40
set os =windows 95
rem xxxxxxx This is for win95
net use R: \\sfopdc\Hhr$Docs
:nt40
net use R: /delete
net use Z: /delete
rem xxxxxxxxxxx
net use R: \\sfopdc\Hr$docs
net use z: \\sfopdc\Reports
end
I have read you could place the ifmember.exe into the scripts as well to assign by group membership.Can someone help me on that one.Should I copy the ifmember.exe into the scripts dir and run like this in the beginning of my scripts
@echo off
I do not know to insert in my script.Lost.Can someone throw one of their scripts for ifmember.exe
ALSO IN THE FIRST Script where set os =windows 95
That portion of the script does not execute,although the user has the home folder setting ok because it was assigned through user profiles.how can I include the ifmember without drive mapping to copy on clients pc.Thanx so much
Aziz