🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #42134

Re: Data-path checker

#42134
From: ED LESLIE
Date: Sat, 10 Feb 1990 23:57
24 lines
1067 bytes
dalw@vax87.aud.auc.dk writes:

dk>I need a program to check wether a certain data-path exists or not.

Following is a fragment of a batch file which I just made up and tried.
Works OK, and should give you the general direction to work on.

-------------starts---------------
set target=c:\wpfiles
if exist %target%\*.* goto ok
echo files not found
goto end
:ok
echo files were found
:end
-------------ends-------------------

The test for *.* could of course be modified to test for an individual 
file which you know must be there, or several lines could be used to test
for more than one file. Anyway, the above should get you started.

TTFN <ed.leslie@canremote.uucp
---
 ~ DeLuxe 1.11a20 #1656
Technical Details
Message-ID: <90021021121253@masnet.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!ed.leslie

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!ed.leslie
From: ed.leslie@canremote.uucp (ED LESLIE)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Data-path checker
Message-ID: <90021021121253@masnet.uucp>
Date: 10 Feb 90 23:57:00 GMT
Organization: Canada Remote Systems Limited, Mississauga, ON, Canada
Lines: 24