At 01/06/2001 06:29, you wrote:
Dear Jim,
No permanent dir? Huh? I can jump to a DOS prompt, type CD\dirname and have the command interpreter change directories for me.
This is no permanent directory, either, but the very same you have in your own programs. While a program is running, let that be a small utility, an complex application or a command interpreter, there is a current directory it keeps. Whenever you issue that CD command, you change the current directory of *that copy* of CMD.EXE, nothing else. If you have several DOS prompts running, they will not influence each other and as soon as you exit any of them, the current directory vanishes with the program. There is simply no way to solve this otherwise in a multitasking operating system.
But you could tell us why you want to modify the current directory of a program from another one (as far as I can tell, this is what you actually aim to do). We might come up with an alternative solution.
Regards,
Gabor DEAK JAHN
------------------------------------------------------------------- Gabor DEAK JAHN -- Budapest, Hungary.
WWW: <http://www.tramontana.co.hu/>www.tramontana.co.hu E-mail:
