1# Everything in the Global section applies to all users logging on to the 2# network 3[Global] 4 5#Some substitution macro definitions 6MAINDRIVE = G: 7USERDRIVE = U: 8SERVERNAME = myservername 9 10@ECHO "Welcome to our network!!!" 11NET TIME \\servername /SET /YES 12NET USE %MAINDRIVE \\%SERVERNAME\globalshare /YES 13 14# Map the private user area in the global section so we don't have to 15# create individual user entries for each user! 16NET USE %USERDRIVE \\servername\%U /YES 17 18# Group entries, User entries and OS entries each start with the 19# keyword followed by a dash followed by--appropriately enough the Group 20# name, the User name, or the OS name. 21[Group-admin] 22@ECHO "Welcome administrators!" 23NET USE G: \\servername\adminshare1 /YES 24NET USE I: \\servername\adminshare2 /YES 25 26[Group-peons] 27@ECHO "Be grateful we let you use computers!" 28NET USE G: \\servername\peonshare1 /YES 29 30[Group-hackers] 31@ECHO "What can I do for you today great one?" 32NET USE G: \\servername\hackershare1 /YES 33NET USE I: \\servername\adminshare2 /YES 34 35[User-fred] 36@ECHO "Hello there Fred!" 37NET USE F: \\servername\fredsspecialshare /YES 38 39[OS-WfWg] 40@ECHO "Time to upgrade isn't it?" 41 42# End configuration file 43 44X = Will this break? 45