use CGI qw(:standard); print header("text/plain"); print "text"; #### use Cwd; $text='my text'; open(FILE,'>stuff.txt'); print FILE $text; close (FILE); system('iexplore '.cwd.'\stuff.txt');" #### set PATH=%PATH%;C:\Progra~1\Intern~1;