Mail Archives: djgpp/2004/10/15/04:30:19
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
X-Trace-PostClient-IP: | 68.147.131.211
|
From: | Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: latest ls.exe version in XP problem
|
Organization: | Systematic Software
|
Message-ID: | <3qtum01b6ifo4t461j2ma065kl0k39kbfs@4ax.com>
|
References: | <6jKbd.13476$nj DOT 4016 AT newssvr13 DOT news DOT prodigy DOT com>
|
X-Newsreader: | Forte Agent 1.93/32.576 English (American)
|
MIME-Version: | 1.0
|
Lines: | 46
|
Date: | Fri, 15 Oct 2004 08:21:57 GMT
|
NNTP-Posting-Host: | 24.71.223.147
|
X-Complaints-To: | abuse AT shaw DOT ca
|
X-Trace: | pd7tw2no 1097828517 24.71.223.147 (Fri, 15 Oct 2004 02:21:57 MDT)
|
NNTP-Posting-Date: | Fri, 15 Oct 2004 02:21:57 MDT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
On Fri, 15 Oct 2004 06:42:10 GMT in comp.os.msdos.djgpp,
"one2001boy AT yahoo DOT com" <one2001boy AT yahoo DOT com> wrote:
In general, read: http://clio.rice.edu/djgpp/win2k/main.htm
>Just noticed several issues about ls.exe. Any help is appreciated.
>
>For the latest ls.exe under Windows XP, there are three issues.
>
>1) under a directory with one thousand files,
>run command "ls -F" will take 1 minute to start to display the files and
>directory. using "ls" has no such long delay. using "dir" has no such a
>problem either.
ls -F has to do a stat call for each name to find out whether it's a
directory, executable, link, or normal file: this may involve two
directory lookups per name, and maybe other system calls, before
sorting and displaying the information. Try dir /o:n for speed
comparison.
>2) there is no way to use ls.exe to display files in Windows network path?
>
>I can use the command
> dir \\my_workgroup_machine_name\directory_name
>
>the following doesn't seem to work.
> ls \\\\my_workgroup_machine_name\\directory_name
Map it to a drive letter with:
net use x: \\my_workgroup_machine_name\directory_name
then use the drive letter.
>3) ls xxxx_xx_200409292300.* doesn't work
NTVDM does not support long file names. Install NTlfn package before
installing DJGPP:
ftp://ftp.delorie.com/pub/djgpp/current/v2misc/ntlfn08b.zip
If you want Windows capabilities, install CygWin not DJGPP:
http://www.cygwin.com/mirrors.html
--
Thanks. Take care, Brian Inglis Calgary, Alberta, Canada
Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)
fake address use address above to reply
- Raw text -