Exact match. Not showing close matches.
PICList
Thread
'[OT] Another 'DOS' command'
2005\10\16@205354
by
Tony Smith
Even better: dir *.exe /s/b > exe.txt
The /b (barebones) removes the size & date/time info, leaving just the
filename.
Tony
(Don't forget >>)
{Quote hidden}
2005\10\16@222502
by
Russell McMahon
|
> Even better: dir *.exe /s/b > exe.txt
> The /b (barebones) removes the size & date/time info, leaving just
> the
> filename.
Or, to ADD information
dir /x ..
Which adds short filename (8+3) information at the start of the name.
The 8.3 name is of course invaluable when using a keyboard to manage
files with lonnnnnnnnnnnnng file names.
With names in my 'interesting files' collection like
- CHINA USA spam from Falan Gong - interesting - CCP Major-General Zhu
Chenghu stated that China would attack over one hundred American
cities with nuclear weapons______.eml
- Alec Issigonis - Designing Modern Britain - Design Museum Exhibition
Automotive Designer (1906-1988) - Design-Designer Information MINI
AUSTIN MORRIS 1100_files
- WW2 White racists supremacists discuss german and russian etc
behaviour ww2 - fascinating and worth being aware of - Stormfront
White Nationalist Community - Who was right Axis or Allies.mht
- Schindlers list - story more complex than first apparent - The New
York Times Books A Scholar's Book Adds Layers of Complexity to the
Schindler Legend.mht
etc
I find this "useful".
RM
2005\10\16@234655
by
William Chops Westfield
On Oct 16, 2005, at 7:22 PM, Russell McMahon wrote:
> The 8.3 name is of course invaluable when using a keyboard to
> manage files with lonnnnnnnnnnnnng file names.
>
Bah. Become enlightened, and get a unix BASH-like shell instead
(part of cygwin, but perhaps obtainable otherwise.) Filename
completion and real regular expressions as well as unix-style
filename wildcarding. Similarly on Macs, there are things that
work much better from a unix shell than from one of the GUI utils...
BillW
2005\10\17@023631
by
Russell McMahon
>> The 8.3 name is of course invaluable when using a keyboard to
>> manage files with lonnnnnnnnnnnnng file names.
> Bah. Become enlightened, and get a unix BASH-like shell instead
This seems like contradictory advice :-)
However, if there was such a shell available which ran under Windows
XP and was free and gave me more net utility than what I have now I
may well consider adopting it. But it wouild probably have to come to
me and ask :-).
RM
2005\10\17@024557
by
Marcel Birthelmer
Russell McMahon wrote:
>>> The 8.3 name is of course invaluable when using a keyboard to
>>> manage files with lonnnnnnnnnnnnng file names.
>
>
>> Bah. Become enlightened, and get a unix BASH-like shell instead
>
>
> This seems like contradictory advice :-)
>
> However, if there was such a shell available which ran under Windows XP
> and was free and gave me more net utility than what I have now I may
> well consider adopting it. But it wouild probably have to come to me and
> ask :-).
>
>
> RM
Wasn't part of MS's Services for Unix release a port of Bash? But I
might be mis-remembering things again.
- Marcel
2005\10\17@025222
by
Jose Da Silva
On October 16, 2005 05:55 pm, Tony Smith wrote:
> Even better: dir *.exe /s/b > exe.txt
>
> The /b (barebones) removes the size & date/time info, leaving just
> the filename.
useful when you create a batch file called weekly or daily by a task
manager, for example:
dir ---- /s/b | zip ---- drive:\dir\backup.zip
...but then again, for those of you who moved to linux, there's also
cron.daily, and a script like:
ls ---- | tar ------ /mnt/backup/backup.tar.gz
...to each, their own ;-P
2005\10\17@072717
by
Andy Armstrong
On 17 Oct 2005, at 07:34, Russell McMahon wrote:
>> Bah. Become enlightened, and get a unix BASH-like shell instead
>
> This seems like contradictory advice :-)
But it isn't - ergo you're missing out :)
> However, if there was such a shell available which ran under
> Windows XP and was free and gave me more net utility than what I
> have now I may well consider adopting it. But it wouild probably
> have to come to me and ask :-).
Go get cygwin, learn bash, forget the barbarism of cmd.exe. This may
not, of course, apply to you but many people who think the command
line is a degenerate user interface are talking about cmd.exe (or
worse command.com).
--
Andy Armstrong, hexten.net
2005\10\17@082159
by
Gerhard Fiedler
Russell McMahon wrote:
>>> The 8.3 name is of course invaluable when using a keyboard to manage
>>> files with lonnnnnnnnnnnnng file names.
>
>> Bah. Become enlightened, and get a unix BASH-like shell instead
1) File and directory name completion is available in cmd.exe (see other
post). Someone who's "bashing" cmd.exe should know this :)
> However, if there was such a shell available which ran under Windows XP
> and was free and gave me more net utility than what I have now I may
> well consider adopting it.
2) You can enhance the usefulness of cmd.exe quite a bit by installing some
of the *ix command line utilities that come with MinGW or Cygwin in your
path. (Both are Windows ports of essential elements of the general *ix
environment.)
3) IIRC, both of these contain also a couple of command shells like bash.
Gerhard
2005\10\17@085056
by
Andy Armstrong
On 17 Oct 2005, at 13:21, Gerhard Fiedler wrote:
> 1) File and directory name completion is available in cmd.exe (see
> other
> post). Someone who's "bashing" cmd.exe should know this :)
It doesn't work very well though - it seems to just go for the first
possible match rather than detecting the ambiguity.
--
Andy Armstrong, hexten.net
2005\10\17@085907
by
Andy Armstrong
On 17 Oct 2005, at 13:50, Andy Armstrong wrote:
> It doesn't work very well though - it seems to just go for the
> first possible match rather than detecting the ambiguity.
^ in the case where what you have typed so far would be ambiguous.
--
Andy Armstrong, hexten.net
2005\10\17@092008
by
John Pfaff
Keep hitting <TAB> and it will cycle through the possible matches.
Andy Armstrong wrote:
> On 17 Oct 2005, at 13:50, Andy Armstrong wrote:
>
>> It doesn't work very well though - it seems to just go for the first
>> possible match rather than detecting the ambiguity.
>
>
> ^ in the case where what you have typed so far would be ambiguous.
>
2005\10\17@113942
by
William Chops Westfield
On Oct 17, 2005, at 5:59 AM, Andy Armstrong wrote:
> [cmd.exe filename completion]
> ^ in the case where what you have typed so far would be ambiguous.
>
No capability of listing all the matches for what you have so far?
Completion without local "help" (alternatives listing) has always
seemed a bit useless to me (although I guess partial completion
is an intermediate step...)
BillW
2005\10\17@131101
by
Peter
On Sun, 16 Oct 2005, William Chops Westfield wrote:
> On Oct 16, 2005, at 7:22 PM, Russell McMahon wrote:
>
>> The 8.3 name is of course invaluable when using a keyboard to
>> manage files with lonnnnnnnnnnnnng file names.
>>
> Bah. Become enlightened, and get a unix BASH-like shell instead
> (part of cygwin, but perhaps obtainable otherwise.) Filename
> completion and real regular expressions as well as unix-style
> filename wildcarding. Similarly on Macs, there are things that
> work much better from a unix shell than from one of the GUI utils...
FYI there are standalone precompiled free versions of bash.exe grep.exe
awk.exe tar.exe gzip.exe bzip2.exe etc downloadable from the internet
(various versions). Just use a search engine to locate them. There is no
need to install full cygwin to exec one of these. Before I gave up on
legacy systems I used to have a bootable floppy with these on it to do
real work with. Of course there is also ed.exe ;-)
Peter
2005\10\17@192504
by
Gerhard Fiedler
Peter wrote:
> FYI there are standalone precompiled free versions of bash.exe grep.exe
> awk.exe tar.exe gzip.exe bzip2.exe etc downloadable from the internet
> (various versions). Just use a search engine to locate them. There is no
> need to install full cygwin to exec one of these.
MinGW is an interesting collection of utilities like Peter describes.
Gerhard
2005\10\17@192703
by
Gerhard Fiedler
William ChopsWestfield wrote:
>> [cmd.exe filename completion]
>> ^ in the case where what you have typed so far would be ambiguous.
>>
> No capability of listing all the matches for what you have so far?
No. It works more like incremental search (for example Mozilla's Find
command) -- you find the first hit, and subsequent key presses find the
subsequent ones. It isn't too bad -- one can get used to it.
Gerhard
2005\10\17@210856
by
Tad Anhalt
Gerhard Fiedler wrote:
> No. It works more like incremental search (for example Mozilla's Find
> command) -- you find the first hit, and subsequent key presses find the
> subsequent ones. It isn't too bad -- one can get used to it.
There's a setting "deep in the bowels of the registry" that will set
this to work more like bash. IIRC, "TweakUI" has a magical checkbox
that saves some spelunking.
Otherwise, Google and/or MSDN should know.
HTH,
Tad Anhalt
2005\10\18@035337
by
Michael Rigby-Jones
|
>-----Original Message-----
>From: .....piclist-bouncesKILLspam
@spam@mit.edu [piclist-bounces
KILLspammit.edu]
>Sent: 18 October 2005 00:25
>To: Microcontroller discussion list - Public.
>Subject: Re: [OT] Another 'DOS' command
>
>
>Peter wrote:
>
>> FYI there are standalone precompiled free versions of bash.exe
>> grep.exe
>> awk.exe tar.exe gzip.exe bzip2.exe etc downloadable from the
>internet
>> (various versions). Just use a search engine to locate them.
>There is no
>> need to install full cygwin to exec one of these.
>
>MinGW is an interesting collection of utilities like Peter describes.
I was going to mention MinGW. I used to use Cygwin, and while it's a fantastic package for those developing/porting linux applications, it's a (very) heavyweight installation for those of us that just need the shell functionality and perhaps a few command lines tools such as e.g. gawk. MinGW is small and packs more than enough functionality for most Windows users ;-)
Russell, when you have a few minutes spare, grab MinGW and MSYS from http://www.mingw.org/
Regards
Mike
=======================================================================
This e-mail is intended for the person it is addressed to only. The
information contained in it may be confidential and/or protected by
law. If you are not the intended recipient of this message, you must
not make any use of this information, or copy or show it to any
person. Please contact us immediately to tell us that you have
received this e-mail, and return the original to us. Any use,
forwarding, printing or copying of this message is strictly prohibited.
No part of this message can be considered a request for goods or
services.
=======================================================================
2005\10\18@065842
by
Andy Armstrong
On 17 Oct 2005, at 14:20, John Pfaff wrote:
> Keep hitting <TAB> and it will cycle through the possible matches.
Indeed - but if there are hundreds of matches you have to cycle
through them all. Bash shows you the list so you can type a couple
more characters to disambiguate - which is a much more efficient user
interface.
--
Andy Armstrong, hexten.net
More... (looser matching)
- Last day of these posts
- In 2005
, 2006 only
- Today
- New search...