Article View: alt.msdos.programmer
Article #667I NEED
From: Terry Walter
Date: Wed, 30 Sep 1992 01:39
Date: Wed, 30 Sep 1992 01:39
14 lines
833 bytes
833 bytes
I need some help. I am using an external variable (%1) and in my
bat(ch) file In want it to search (%1) for for sometext and if it finds
it, exit, and if it doesn't say so.
eg.
LOOK.BAT TEXTFILE.TXT
(looking in %1)=TEXTFILE.TXT search it to see if it finds .TXT
if it does, print this is a text file.
if not, print this is not a text file.
can someone help
Technical Details
Message-ID:
<348.143.uupcb@outlan.ersys.edmonton.ab.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!van-bc!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!ersys!outlan!terry.walterShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!van-bc!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!ersys!outlan!terry.walter From: terry.walter@outlan.ersys.edmonton.ab.ca (Terry Walter) Newsgroups: alt.msdos.programmer Subject: I NEED Message-ID: <348.143.uupcb@outlan.ersys.edmonton.ab.ca> Date: 30 Sep 92 01:39:00 GMT Reply-To: terry.walter@outlan.ersys.edmonton.ab.ca (Terry Walter) Distribution: world Organization: Outland BBS-UUCP Lines: 14