Hi Mou,
Check this sap note is applicable to your system 1599154 - OS command does not get executed
Set oscommand.trace = true in file adapter advance mode then traces will be written to default trace
1334947 - OS command trace(logs) - File Adapter
Regards,
Praveen.