in reply to Escaping characters on win2000's cmd.exe

In addition to just quoting the arguments, which is a good start, you should note that perl's system command can accept an array as its argument. Like this:

@args = ("command", "arg1", "arg2");
system(@args);

This is a nice solution, because then you don't have to worry about escaping things (like quotes) that the OS does not like in the arguments themselves.
  • Comment on Re: Escaping characters on win2000's cmd.exe