A note about using && for multiple commands - the subsequent command(s)
only execute if the previous command was successful. To run each
command regardless if the previous succeeds or fails, use a single &.
To run the subsequent command only if the previous fails, use ||.
Another fun tip - tab completion for file and directory names. Start
typing a file name or directory name, then hit tab. It will show the
first file / directory that exactly matches what you've typed so far.
If there is more than one match, tab will cycle through the matches.
If there are no matches, tab will not do anything.
Useful, but the article does not state which version they are
for. Presumably, it is meant for 7. Some of the tips work on XP;
some do not.
No one uses XP anymore. ;-)
I thought I knew cmd. Oh well
The 5 tips and some of the replies are good stuff, new to me.
I thought I knew cmd. Oh well
The 5 tips and some of the replies are good stuff, new to me.
Thanks.
I knew all but the first; I didn't know that "clip" was a device
usable in that way. Thanks to you and the OP for making me look.![]()
I knew all but the first; I didn't know that "clip" was a device
usable in that way. Thanks to you and the OP for making me look.![]()
Nitpick: it's a command (clip.exe), not a device. The built-in help isn't
much, but there isn't much to the command: you can use it like (quoted from
the help):
DIR | CLIP
or
CLIP < README.TXT
Thanks for the correction. I just ASSumed it was a device like
"con" (which is not in Win 7, by the way). But that would have been
DIR > CON, not DIR | CON, so of course I should have recognized that
syntactically CLIP had to be a command. Thanks for setting me
straight.
Um..."CON" (or "CON:") is still very much alive and well in Windows 7. You
might be misled by typing it into the search box and getting the "connect to
a projector" control panel.
Joe
Um..."CON" (or "CON:") is still very much alive and well in Windows
7. You might be misled by typing it into the search box and getting
the "connect to a projector" control panel.
The said:And who said that DOS doesn't live! Long live DOS the only real OS and it
made Bill what he is today. How many of you grew up with DOS or CPM.
cmd is DOS and if you know DOS you know everything! It lives it breaths in
the heart of every single Windows OS since Windows 286 and has changed very
little in the last 30 odd years.
I think I agree with you, though not sure about the percentage. But IJohn Williamson said:And how many if us have grown out of it over the years?
Either to *nix or other OS's, or have found it easier to manipulate the
DOS kernel commands from within a GUI for 99% plus of what we do. I
suspect what you prefer depends on what level you interact with yoru
computer on.