home *** CD-ROM | disk | FTP | other *** search
- EXTPROC CEnvi
- //******************************************************************
- //*** EditCmd.cmd - Example Cmm source file that uses the simple ***
- //*** ver.1 FileDlg.lib interface into the WinFileDlg() ***
- //*** function in PM. ***
- //******************************************************************
- //
- // This program lets user selecte a source file (default to .cmm)
- // and then start notepad with that file.
-
- #include <FileDlg.lib>
-
- FileName = FileDialog("*.cmd","Select a file to edit.",
- FDS_OPEN_DIALOG | FDS_CENTER,
- "Edit File");
- if ( FileName )
- system("start E.EXE %s",FileName);
-