X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_82,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <22907575.post@talk.nabble.com> Date: Mon, 6 Apr 2009 05:14:26 -0700 (PDT) From: sudhap85 To: cygwin AT cygwin DOT com Subject: "ls" command not working in windows 2008 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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. =E2=80=9Cls $root/virusScanBase >> $resultfile=E2=80=9D 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=20 --=20 View this message in context: http://www.nabble.com/%22ls%22-command--not-w= orking-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/