TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: Lars van Dijk
from: Leonard Erickson
date: 1998-10-21 04:18:02
subject: Bat/btm/Extension

-=> Quoting Lars van Dijk to All <=-

 LvD> Pret.exe source (without extension .pas)

 LvD> But when I add this in a btm/bat file:
 LvD> For %1 in (*.pas) do pret %1

 LvD> 4DOS adds the extension .PAS !
 LvD> Is there anyway to strip the extension .pas from the command line ?

Yes.

For %a in (*.pas) do pret %{at}name[%1]

--- Blue Wave/DOS v2.30
* Origin: Shadowshack (1:105/51)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/506 728 639/252
@PATH: 105/51 360 138/146 270/101 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™.