in reply to system() in Windows 2008

add
print "COMPARE THIS >>> $cmd <<<<\n";
and then compare $cmd to what you have in your shell