home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cenvi23.zip
/
EDITCMD.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-10-03
|
714b
|
19 lines
EXTPROC CEnvi2
//******************************************************************
//*** 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);