I tried to list the contents of a directory in DOS command prompt and redirecting it to a file.This did not add the contents at all. “ls $root/virusScanBase >> $resultfile”
As an alternative to this I tried to use "echo $root/virusScanBase/*" but this just returns * and not the directory contents(in Linux it works as expected by listing direcory contents) cygwin-1.5.25-15 ActivePerl-5.8 Windows 2008 R1 Thanks in Advance -- View this message in context: http://www.nabble.com/%22ls%22-command--not-working-in-windows-2008-tp22907575p22907575.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/