Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: groups on Novell server
In Netware 4, the n4ObjectInfo function may be of help. But you can still do it in the following way:
Write a BAT file that dumps the groups to a file. I don't know the command but it would look something like:
REM this is LISTGRP.BAT nlistgrp /all > c:\temp.txtThen you have a WinBatch script:
RunWait("LISTGRP.BAT","") fs=FileSize("C:\temp.txt") bb=BinaryAlloc(fs) BinaryRead(bb,"c:\temp.txt") list=BinaryPeekStr(bb,0,BinaryEODGet(bb)) BinaryFree(bb) list=strreplace(list,@crlf,@tab) thisone=AskItemList("Title",list,@tab,@sorted,@single) Message("Selected Group",thisone)Now make a shortcut ot PIF file to LISTGRP.BAT that has two very important items checked.
After you have it all working and DEBUGGED!!:
Change the RunWait to RunHideWait in the WBT file so the users don't see it.
Article ID: W13608
Filename: List all Groups on a Novell Server.txt
File Created: 1999:04:15:16:55:10
Last Updated: 1999:04:15:16:55:10