When programming, you are often concentrating on which file or project you want to work on and would prefer that the computer provide the right tool for the job. With the Windows File Manager, you can associate certain types of files with the commands that operate on those files. Therefore, when you double-click the filename in the File Manager, the right tool starts with the correct command-line options.
You can associate project makefiles (.MAK files) with the PWB .PIF file. Double-clicking a project makefile then starts PWB and opens that project, source files and all.
·To associate PWB with .MAK files:
1.Select any file in the File Manager with the extension .MAK.
2.From the File menu, choose Associate.
3.Type the command PWB.PIF /PP in the dialog box. (Make sure that your PWB.PIF file specifies a question mark (?) in the Optional Parameters text box.)
Now when you double-click a project makefile, the File Manager automatically starts PWB, and PWB opens that project.
Note :
Be sure you have set your PATH, INIT, and TMP environment variables prior to starting Windows so PWB can find all its files.