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

In a message of , Lars van Dijk (2:284/2.25) writes:

 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 !

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

 LvD>Is there anyway to strip the extension .pas from the command line ?

Yes.


Regards,
        Richard.

--- Msged/Q 1.60
* Origin: Sysop "Novell User Group of SA" Pta, RSA (5:7106/22)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/506 728 639/252
@PATH: 7106/22 7104/2 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™.