my $cmd = Win32::SearchPath::SearchPath('ipconfig', 'C:\Windows');