home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv7.zip
/
vac22os2
/
ibmcobol
/
macros
/
rename.lx
< prev
next >
Wrap
Text File
|
1998-02-24
|
357b
|
12 lines
/* This macros provides the user with a dialog to change */
/* the name of the current file, the file is not saved and */
/* the syntax of the rename is not checked */
'set lineread.title Rename File'
'set lineread.prompt Enter new name:'
'lineread 255'
'extract lastkey'
if lastkey = "ENTER" then do
'extract lastline'
'set name' lastline
end