TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Russ Williams
from: Mike Ruskai
date: 1994-07-24 06:25:30
subject: Re: REXX stuff...

Some senseless babbling from Russ Williams to Mike Ruskai
on 07-23-94  21:22 about REXX stuff......

 RW> Mike Ruskai wrote the following to All on 07-20-1994 regarding REXX
 RW> 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.  

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

Yep, that's exactly what I said, and that is the fix I am using!  Of 
course, it actually is '"'FileSpec('name',current_icon)'"' since I want to 
make sure the & in a filename doesn't screw it up.

´Mike Ruskai ³ FidoNet(1:107/634) ³ RGSNet(50:130/12) ³ OS/2Net(81:135/30)Ã
´{Team OS/2} ³ ITCnet(85:862/207) ³         TerraNet(87:908/100)          Ã


... If Q were castrated would he become ... O ???
___ Blue Wave/QWK v2.12 OS/2
--- RG 5-31 Exp/GE 1.02+

* Origin: The Licking Factory, OS/2 in NJ! (908)636-7245 (1:107/634)
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: 107/634 677 33 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™.