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 direct

"cat >" command is not working in windows 2008

2009-04-06 Thread sudhap85
I am trying the following command on DOS command prompt and it does not work. There is a process which writes to STDOUT and the following command captures it[from STDIN] and writes to a file.Please help in this regard. cat > $root/qfile ‘> $root/script” but /tmp qfile itself is not created. cygiw

"ls" command not working in windows 2008

2009-04-06 Thread sudhap85
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

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread sudhap85
hi, The same test got passed with cygwin 5.2 in windows 2003. Eric Blake wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to sudhap85 on 4/2/2009 5:45 AM: >> Hi, >> what i means the problem here is that function is not working for &

RE: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread sudhap85
Hi, what i means the problem here is that function is not working for me. (i.e) if i run cat > file1 >>file2. Here file1 content is not copied to file2. Also Am running perl script (PERL version 5.8.0) in windows 2008 platform. Phil Betts-2 wrote: > > sudhap85 wrote: &

cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-01 Thread sudhap85
Hi, I am using windows 2008 machine. I have installed latest cygwin. Here I am facing problem with the "cat" "grep" commands. In command line its working fine. but In my scripts it's giving error. Am using PERL script for my testing. These commands are not working in the following scenario, 1.