Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!deimos.cis.ksu.edu!atanasoff!jwright From: jwright@atanasoff.cs.iastate.edu (Jim Wright) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Looking for an interactive directory change pgm. Message-ID: <1146@atanasoff.cs.iastate.edu> Date: 28 Jun 89 04:44:34 GMT References: <3311@cs.dal.ca> Reply-To: jwright@atanasoff.cs.iastate.edu.UUCP (Jim Wright) Distribution: na Organization: Iowa State U. Computer Science Department, Ames, IA Lines: 22 In article <3311@cs.dal.ca> lane@cs.dal.ca (John Wright/Dr. Pat Lane) writes: | What I want is just a program that allows a user to type in a directory | path and/or drive name and changes the default drive/directory accordingly. | | The reason I want this is for use with dumb pgms that don't let you change | directories once in them and thus require the user to get to the appropriate | directory first. | | Yes, I know it's a two line (or whatever) C program but I'm really lazy | and I figure there's just *got* to be something out there already (and | I hate re-inventing the wheel). How about a 3 line batch file: cd z:\path\to\your\application application /with /your /favorite %1 %2 %3 /switches %4 %5 cd c:\ Gets you in and out painlessly. I've got tons of these that get dumped to a ramdisk at startup. Thus my path only has about 3 entries in it. -- Jim Wright jwright@atanasoff.cs.iastate.edu