Re: "ls" command not working in windows 2008

2009-04-06 Thread Greg Chicares
[reformatted: see http://www.cygwin.com/acronyms/#TOFU ] On 2009-04-06 12:41Z, sudhap85 wrote: > > Greg Chicares-2 wrote: >> >> On 2009-04-06 12:14Z, sudhap85 wrote: >>> I tried to list the contents of a directory in DOS command prompt and >>> redirecting it to a file.This did not add the conten

Re: "ls" command not working in windows 2008

2009-04-06 Thread sudhap85
Yes this CMD.exe and $root is just a variable which holds a directory name and it would expand as (virusscanbase is a directory) “ls /tmp/virusScanBase >> resultfile” Greg Chicares-2 wrote: > > On 2009-04-06 12:14Z, sudhap85 wrote: >> I tried to list the contents of a directory in DOS command p

Re: "ls" command not working in windows 2008

2009-04-06 Thread Greg Chicares
On 2009-04-06 12:14Z, sudhap85 wrote: > 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 t