Article View: comp.os.msdos.programmer
Article #616Re: tricky batch - help
From: Timo Salmi
Date: Wed, 08 Apr 1992 11:57
Date: Wed, 08 Apr 1992 11:57
18 lines
1372 bytes
1372 bytes
In article <92097.223002L28BC@CUNYVM.BITNET> L28BC@CUNYVM.BITNET writes: >I am trying to find a way to prompt a user to enter a filename. The computer >will then search for an existing filename and insert the filename and path >into a variable. Does anyone know or have an idea how to search for the files >and insert their filename and path into a varialbe, if they exist or not ? If the usual giving the file name from the command line is not acceptable for your task then you will have to write a program that reads the users input and writes it to an environment variable of the parent task. That is not easy to do but if you are writing your auxiliary program in Turbo Pascal I have a SetEnv routine in a public TPU of mine. ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.87.1 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
Technical Details
Message-ID:
<1992Apr8.115703.9248@uwasa.fi>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uwasa.fi!tsReferences:
<92097.223002L28BC@CUNYVM.BITNET>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.os.msdos.programmer Subject: Re: tricky batch - help Message-ID: <1992Apr8.115703.9248@uwasa.fi> Date: 8 Apr 92 11:57:03 GMT References: <92097.223002L28BC@CUNYVM.BITNET> Organization: University of Vaasa, Finland Lines: 18