system "cd && type file"; ## or system "ver && type file"; ## or system "type file > CON";