#!/usr/bin/perl -w use strict; my $prog = "c:\\program files\\agent\\agent.bat"; system($prog);