alt@cbnewsd.att.com (art.l.todesco) (05/01/91)
I think I have seen this posted before, but I don't remember now. I would like to write a batch file that will store the present directory, change to a new directory, execute a program, and change back to the original directory before exiting. I can store the present directory in a file by redirecting the output of CHDIR > filename, however, I can't find a way to get that info back to CHDIR or other public domain directory change programs I have. Is there a binary that can take standard input (to use the UNIX term) or is there a way of doing it in the batch program (why didn't they call it a shell script like UNIX?)? Thanx, Art Todesco att!ihlpf!alt