1.

Solve : DOS equivalent for unix semi-colon to execute multiple commands?

Answer»

What is the DOS EQUIVALENT for the *nix semi-colon that enables two commands to execute.
For example, in unix/linux -- cd /home;ls -- changes to the home FOLDER, then executes the list command (ls).

So, what is the DOS look-alike syntax -- CD \HOME xxx DIR where xxx is the replacement syntax...Pure MS-DOS does not have such a thing, but in NT family command prompt, i.e. Windows 2000, XP, Vista, you have the ampersand, &.

cd \home&DIR&ECHO HELLO&pause&cls







Discussion

No Comment Found