said:
>Is there a Rexx function to rename a file? (I can't find one.)
>I know I can say
> "ren fileX fileY"
>but I'd prefer a Rexx function if one exists.
>- Peter
Peter,
I couldn't find a file renaming function in either the GammaTech REXX
SuperSet or in RexxLib. There are functions in both packages for creating
filenames based on the parameters you pass on the function call, but nothing
which answers your stated need. I suspect that in both cases the presumption
was that the stated "function" was the native RENAME command. You didn't
state why you desire a function in place of a command call, but if you really
need such a function, it would be easy enough to write your own as a
procedure call.
-- gary
-----------------------------------------------------------
Gary Granat
ggranat@earthlink.net
-----------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 08 |
April |
2005 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.