Article View: comp.os.msdos.misc
Article #3930Re: store current path
From: Christopher Behler
Date: Mon, 27 Nov 1995 00:00
Date: Mon, 27 Nov 1995 00:00
18 lines
1337 bytes
1337 bytes
>yang@math.umass.edu (Huayong Yang) writes: >>Is it possible to store the current path in a variable in a DOS batch >>file? Thanks in advance. Try (in batch file(s)), oldpath=%path% to set the variable 'oldpath' to the current path. You can then play with the path setting (for using a particular application perhaps). to reset the path to what it used to be.... path=%oldpath% Cheers, Chris Behler, Cbehler@ix.netcom.com
Technical Details
Message-ID:
<49c81g$ch0@ixnews6.ix.netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<48lgfd$h7@nic.umass.edu> <499hr5$5q7$1@sydney.DIALix.oz.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d683,4c854c1cd2fd1c38,start X-Google-Attributes: gid10d683,public X-Google-Thread: 1674b9,1620898bdd53610d X-Google-Attributes: gid1674b9,public X-Google-Thread: 111d31,1620898bdd53610d X-Google-Attributes: gid111d31,public X-Google-Thread: f53ba,1620898bdd53610d X-Google-Attributes: gidf53ba,public X-Google-Thread: f71eb,643e1e353ee73714 X-Google-Attributes: gidf71eb,public From: cbehler@ix.netcom.com (Christopher Behler ) Subject: Re: store current path Date: 1995/11/27 Message-ID: <49c81g$ch0@ixnews6.ix.netcom.com> X-Deja-AN: 120205393 references: <48lgfd$h7@nic.umass.edu> <499hr5$5q7$1@sydney.DIALix.oz.au> organization: Netcom x-netcom-date: Mon Nov 27 3:39:28 AM PST 1995 newsgroups: comp.os.msdos.misc,comp.binaries.ibm.pc.wanted,comp.archives.msdos.d,comp.sys.ibm.pc.misc,aus.computers.ibm-pc