Run Multiple DOS Commands

The pipe character used to work, but on Windows 2000 + you need to separate them with the ampersand character. For example:
cd \windows & dir /w & pause & cd .. & dir /w & pause

posted @ Tuesday, February 28, 2006 2:43 PM

Print

Comments on this entry:

# re: Run Multiple DOS Commands

Left by yogendran at 3/22/2006 8:01 AM

thanks for the tip

Comments have been closed on this topic.