
                        Ŀ
                                             
                             RESTRICT.BAT    
                               Help file     
                                             
                        
                          

                              Version 1.0
                       Sun  04-16-1995  20:48:39

                              Version 2.0
                       Saturday, 12-16-95 11:04 am

     Hi There Windows 3.11 user....

     Received a nice note from another persistent Windows 3.11 user who
     sounds like he (also) is NOT using Windows 95. Like us he maybe
     waiting for "Windows 96" or a less buggy Windows 95 operating
     system that allow use of =all= old DOS and Windows 3.11 programs.
     Until that happens, we are staying with Windows 3.11. I sent him
     the modified RESTRICT.BAT which now also changes both the
     PROGMAN.INI and the CONTROL.INI file. All with this low level DOS
     batch file.

     Remember "KIS," Keep is Simple. Below is the original text from
     version 1.0 of RESTRICT.BAT. Sorry, but just don't have time to do
     more than add the above "text patch."

     
                              Version 1.0
                       Sun  04-16-1995  20:48:39

     The batch file in this file set RESTRICT.BAT, is one I made for use
     in my company. We have a bunch of "stand-alone" Windows 3.11
     machines. RESTRICT.BAT allows you to =restrict= some to all File
     menu commands.

     RESTRICT.BAT is preeeettty clever for a batch file. If you run it
     in its plain vanilla mode, by typing:

     RESTRICT {Enter}

     from the command line (in either DOS or Windows), it looks for
     PROGMAN.INI file in the C:\WINDOWS directory. If it finds PROGMAN.INI,
     RESTRICT.BAT adds a [Restriction] section to the file PROGMAN.INI
     and sets several restrictions to the use of the File menu.

     If you have your windows directory on some other drive with some
     other name.... you get a beep and a message to re-run RESTRICT.BAT
     but this time give the drive and directory of where you have your
     Windows 3.1 programs. You would type:

     RESTRICT D:\WINDOW  {Enter}

     if D:\WINDOWS was your Windows 3.1 drive and directory


     Below is a copy of what RESTRICT.BAT pastes into your PROGMAN.INI:

     
     [Restrictions]

     ;John De Palma on CompuServe 76076,571

     NoRun=1             ;Disable File menu Run Command
     ;NoClose=1          ;Disable Program Manager Exit Command
     NoSaveSettings=1    ;Disable Program Manager Save Settings
     ;NoFileMenu=1       ;WARNING!!! Disables Entire File menu!

     ;Select one of the following EditLevels

     ;EditLevel=0        ;File menu Default, allows any Changes
     ;EditLevel=1        ;Disable File menu create, delete, or rename groups
     ;EditLevel=2        ;EditLevel 1 =plus= Disable File menu items
     ;EditLevel=3        ;EditLevel 2 =plus= Disable File menu command lines
     EditLevel=4         ;EditLevel 3 =plus= Disable File menu properties

     

     The items with a semi-colon (;) in front of them mean that those
     commands are "commented out" and are inactive.

     eg:

     if you wanted to active the command "NoClose=1." It would then look
     like this:

     NoClose=1          ;Disable Program Manager Exit Command

     The =second= semi-colon on the above line allows you to add a
     comment which is =not= read as a command.

     Only run RESTRICT.BAT once. If you want to modify your PROGMAN.INI
     after you have run RESTRICT.BAT, then use NOTEPAD.EXE or a similar
     ASCII editor to change the settings.

     If you run RESTRICT.BAT a second time, it will paste the same
     information in, but the =first= set of [Restriction] settings will
     be the only ones that Windows 3.1 "sees" and uses.

     Now... the text file RESTRICT.TXT will load after you press <Esc>
     to exit this text file... if you used FROMJOHN.BAT to load this
     file.

     John De Palma on CompuServe 76076,571
