home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Collection - Online Library - January 1996
/
CKITOS2196.ISO
/
diskette
/
gg244043.dsk
/
unc.dsk
/
LS30UTIL
/
DELUSR.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-02-10
|
1KB
|
33 lines
/*******************************************************************/
/* DELUSR.CMD */
/* */
/* Delete users as specified in the argument ACSII file. */
/* */
/* Arguments: */
/* users_list_file A file containing userids that will be */
/* transferred */
/* */
/*******************************************************************/
parse upper arg usrListFile
if usrListFile = '' then do
say 'Specify a user list file'
exit 9
end
/* Ready to read user list file */
userid = linein(usrListFile,1,1)
if userid = '' then do
say 'Could not obtain User List File'
exit 9
end
do while userid <> ''
'NET USER ' userid '/DELETE '
userid = linein(usrListFile,,1)
end
exit 0