TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: Dave DeGear
from: Jonathan de Boyne Pollard
date: 1998-09-29 08:27:50
subject: JPG -- TXT naming

DD> [...] directory containing 1.jpg, 2.jpg, 3.jpg, how would I also 
 DD> create a set of files (preferably empty) in that directory that 
 DD> are named 1.txt, 2.txt, 3.txt that are less than 1 or 2 bytes 
 DD> each in size?

 DD> I'm running Warp 4 with 4OS2/32 Version 2.5 

for %j in (*.jpg) do copy /r nul %{at}instr[0,%{at}eval[%{at}len[%j]-3],%j]txt

 ¯ JdeBP ®

--- FleetStreet 1.19 NR
* Origin: JdeBP's point, using Squish (2:440/4.3)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/506 728 639/252
@PATH: 440/4 255/1 251/25 396/1 633/260 635/506 728 633/267

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™.