home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1994 February
/
psl_9403.zip
/
psl_9403
/
DOS
/
UT_SYSTM
/
CENVI2.ZIP
/
EDITCMD.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-10-11
|
522b
|
17 lines
EXTPROC CEnvi
// EditCmd.cmd - Example Cmm source file that uses the simple
// 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);