home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
cenvi
/
editcmd.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-03-08
|
713b
|
19 lines
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);