Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NT Groups
Message
From
04/01/1999 06:33:45
 
 
To
29/12/1998 16:23:31
General information
Forum:
Visual Basic
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00171356
Message ID:
00172356
Views:
19
Jeff

I use dos commands to do certain things, as the following shows

echo Security Report > sreport.txt
date /T >> sreport.txt
time /T >> sreport.txt
Echo -------------------------------------------- >> sreport.txt
echo ACCOUNTS >> sreport.txt
net accounts >> sreport.txt
echo SERVER CONFIGURATION >> sreport.txt
net config server >> sreport.txt
echo WORKSTATION CONFIGURATION >> sreport.txt
net config workstation >> sreport.txt
echo GROUPS >> sreport.txt
net groups >> sreport.txt
net local groups >> sreport.txt
echo NAMES >> sreport.txt
net name >> sreport.txt
echo SESSIONS >> sreport.txt
net session >> sreport.txt
echo SHARES >> sreport.txt
net shares >> sreport.txt
echo SERVER/WORKSATION STATISTICS >> sreport.txt
net statistics server >> sreport.txt
net statistics workstation >> sreport.txt
echo SHARED RESSOURCES >> sreport.txt
net view >> sreport.txt
echo SHARED RESSOURCES IN USE >> sreport.txt
net use >> sreport.txt
echo USER INFORMATION >> sreport.txt
net user >> sreport.txt
echo END OF REPORT >> sreport.txt
Iain Brodie
Previous
Reply
Map
View

Click here to load this message in the networking platform