TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: Dave DeGear
from: Jussi Hamalainen
date: 1998-09-29 18:31:08
subject: JPG -- TXT naming

-=> Quoting Dave DeGear to All <=-

 DD> create a set of files (preferably empty) in that directory that are
 DD> named 1.txt, 2.txt, 3.txt that are less than 1 or 2 bytes each in
 DD> size?

This should do what you want:

for %a in (*.jpg) do rem>%{at}name[%a].txt

It makes a 0-byte file for each .jpg file.

 DD> Also, is there a way to convert a directory containing filenames in
 DD> upper and lower case into filenames that are only uppercase?

for %a in (*.*) do ren %a %{at}upper[%a]

 DD> I'm running Warp 4 with 4OS2/32 Version 2.5 and 4DOS Ver 4.02.

These work with the 6.01 (the latest version?). I'm not sure if
they work with 4.02.

-=[ Count Zero / TBH - Jussi Hamalainen - email count{at}theblah.org ]=-

... Armageddon clock: 458 days, 5 hours, 28 minutes and 49 seconds

--- Blue Wave/DOS v2.30
* Origin: *** Synthetic Environment, Finland! *** (2:221/376)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/506 728 639/252
@PATH: 221/0 22/10 220/851 20/11 24/888 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™.