Article View: comp.sys.ibm.pc.misc
Article #2645Re: DOS Batch files (help)
From: Timo Salmi LASK
Date: Thu, 23 Aug 1990 21:12
Date: Thu, 23 Aug 1990 21:12
22 lines
1655 bytes
1655 bytes
>In article <3078@orbit.cts.com>, griggs@pnet51.orb.mn.org (Griggs Nichols) writes: >> Batch file aficionados, I need some help. >> >> I am trying to figure out a way to read/verify a VOL label on a disk in drive >> A, through a command line in a batch file. Not easy, but possible. You have to write eg a Turbo Pascal (or C) program to read the volume label, and then have the program set an environment variable to contain the label name. Neither of these programming tasks is trivial, but the principle is valid. I know this from experience with a remotely similar programming dilemma I had to solve quite some time ago. Of course there might be other solutions as well, but I can't figure out any other at the moment. If you happen to be a novice at writing batch files, you may find some useful general tricks of batch programming in (/pc/ts/) tsbat21.arc available by anonymous ftp from our site. ................................................................... Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) 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:
<1990Aug23.211249.29581@uwasa.fi>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!tut!funic!uwasa.fi!tsReferences:
<3078@orbit.cts.com> <1990Aug24.010219.2088@vaxa.cc.uwa.oz.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!tut!funic!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi LASK) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: DOS Batch files (help) Message-ID: <1990Aug23.211249.29581@uwasa.fi> Date: 23 Aug 90 21:12:49 GMT References: <3078@orbit.cts.com> <1990Aug24.010219.2088@vaxa.cc.uwa.oz.au> Organization: University of Vaasa Lines: 22