Don't know if this will help you, but are you aware that you can use "&" to string together commands onto one line... this is at least true on Windows 2000, not sure about NT.
>From the command reference: The ampersand (&) separates multiple commands on one command line. The parentheses groups multiple commands. The semicolon or comma (; ,) separate command parameters. The caret (^) cancels a subsequent command symbol's special meaning so you can use a command symbol as text. The double ampersand (&&) causes the command following this symbol to run only if the command preceding the symbol is successful. The double pipe (||) causes the command following this symbol to run only if the command preceding the symbol fails. In other words, "pushd \\server\testdir\ & cd & popd" should work... -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>