#!/usr/bin/perl $path = ""; $t = "dir C:\\ProgramData\\Test1\\Test Folder\\" ; $out = `$t`; print $out;