use Win32::Process; Win32::Process::Create($ProcessObj, "C:\winnt\notepad.exe", "c:\sample.txt", 0, DETACHED_PROCESS, ".")|| die "cant find the application"; }