SETUP.BAT
SETUP.BAT
SETUP.BAT registers BASIC in the start menu,
associates the extension ".BAS" to BASIC.EXE,
and makes BASIC.EXE save option settings in the Windows registry,
asking whether the shortcut should be made on the desktop.
UNSETUP.BAT
UNSETUP.BAT removes the settings made by SETUP.BAT.
On Windows NT/2000/XP/Vista/7, SETUP.BAT should be launched with full administrator privileges.
Note
SETUP.BAT registers two actions of "Edit" and "Run".
In case of "Edit", when BASIC.EXE is launched by association, it starts with the file open.
In case of "Run", when BASIC.EXE is launched by association, it runs the program and then terminates.
The action that is defined by double-clicking a file with an extension ".BAS" is "Edit".
If this differs from your desire, use the tool option of Explorer to change the setting.
Note2
The setting of using the registry is recorded on BASIC.INI.
If BASIC.INI was deleted by mistake, launch SETUP.BAT again.