in reply to system sub routine with windows7
Find out why it doesn't work, for example:
#!/usr/bin/perl use strict; use warnings; my @args = ("dir", "c:\\"); # replace this with your command and the a +rgument system(@args) == 0 or die "system @args failed: $?"
See system for more information. If you're new the following may be helpful:
|
|---|