I will need so help to create a small Perl script that will get as a parameter a command to execute in a windows shell.
My requirement is that the script should accept two input parameters, the first being the command to execute and the second the parameters to said command.
In other words something like myscript.pl "dir" "*.*" which will in turn do an exec() with the command "dir *.*".
No need to check return value or even command validity.
I guess it's fairly trivial but I'm completely perl un-litterate...
Thanks in advance for your help.