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

Hallo All,

I was wondering, I need to run a program for a specific type of files like:

Pret.exe source (without extension .pas)

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

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


Bye Bye,
Lars van Dijk
E-Mail: Lars.van.Dijk{at}First.iaehv.nl
-=[ XS ]=-

--- GEcho 1.00
* Origin: Starlight BBS, Vrijdag 18.00-24.00 Bel: (+31)0492-38286 (2:284/2.25)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/506 728 639/252
@PATH: 284/2 5 280/801 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™.