Dec 132017
 
SET and RET to CURrent DIRectory in Batch Files.
File CURDIR.ZIP from The Programmer’s Corner in
Category Batch Files
SET and RET to CURrent DIRectory in Batch Files.
File Name File Size Zip Size Zip Type
READ.DOC 815 353 deflated
RETDIR.COM 79 79 stored
RETDIR.DOC 1245 618 deflated
SETDIR.COM 1339 1126 deflated
SETDIR.DOC 1098 540 deflated

Download File CURDIR.ZIP Here

Contents of the READ.DOC file


________________________________________________________________

CURDIR DOCumentation
________________________________________________________________

This file includes two batch utilities which can be used
together to mark a CURrent DIRectory and later return to it.

SETDIR - When executed, sets the enviroment string "CURDIR" to
the current drive and directory. If for example, you
were on drive C: and in the WP directory, it would be
the same as doing the following SET command:

SET CURDIR=C:\WP

RETDIR - Searches the environment for a "CURDIR=" string and
and if found, changes to that drive and directory.
When executed after the above example, it would make
the default drive and directory C:\WP.



 December 13, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)