TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Ruskai
from: Russ Williams
date: 1994-07-22 13:48:04
subject: REXX stuff...

Mike Ruskai wrote the following to All on 07-20-1994 regarding REXX
stuff...:

MR> icondir='c:\icons'
MR> call directory(icondir)
MR> call SysFileTree 'c:\icons', '*.ico', 'icons.', 'FO'
MR> do convert=1 to icons.0
MR> parse upper var icons.convert current_icon
MR> 'cvtico' current_icon 'temp.ico'
MR> 'del' current_icon
MR> 'ren temp.ico' current_icon '>>' logfile
MR> end
MR> 
MR> Later, I replaced the DEL with SysFileDelete to clean up a bit,
MR> but the  problem I ran into was that CMD.EXE puked.  Apparently it
MR> does not accept a  full pathname as the second argument.  

I guess you must mean that the rename did not work.  Use the FileSpec
function to extract just the name part from the full pathname, e.g.
  'ren temp.ico' filespec( 'Name', current_icon) '>>' logfile
                                                                           
___ Russ Williams ---
--- Green Valley, AZ ---

___
 X KWQ/2 1.2e X Being normal isn't one of my strengths.

--- Maximus/2 2.01wb

* Origin: The Emerald Isle, Tucson, Az. (602) 749-8638 (1:300/14)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430
SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 300/14 406 15 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.