delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/01/14/15:00:25

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "JediKnight2" <JediKnight2 AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Use a Batch file to read update another batch file..
Date: 14 Jan 2005 11:57:30 -0800
Organization: http://groups.google.com
Lines: 18
Message-ID: <1105732650.055736.73570@c13g2000cwb.googlegroups.com>
NNTP-Posting-Host: 65.184.186.47
Mime-Version: 1.0
X-Trace: posting.google.com 1105732654 15132 127.0.0.1 (14 Jan 2005 19:57:34 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Fri, 14 Jan 2005 19:57:34 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse AT google DOT com
Injection-Info: c13g2000cwb.googlegroups.com; posting-host=65.184.186.47;
posting-account=3YXC1g0AAABI0uHjPCUPcqPEBG7TQ57R
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

What I have are two batch files.  One is an update to the other.
Problem is that some computers dont use C: some may use D or E.  So
what I need to do is have my new batch file backup the old batch file,
easy...then read what the drive letter is that is used and append
itself or build another batch file that uses the existing drive letter
with the new commands...

Batch file 1

uses D:

Batch file 2

needs to see that batch file uses d:
either build another batch file with this info plus the new commands
OR
append itself with the appropriate drive letter...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019