home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
os2
/
cenv2_19.arj
/
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);