Windows 7 Forums


Reply
Thread Tools

5 Windows Command Prompt Tricks You Probably Don’t Know

 
 
Big Steel
Guest
Posts: n/a
Thanked:
 
      08-02-2012
<http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>
 
Reply With Quote
 
 
 
 
Gene E. Bloch
Guest
Posts: n/a
Thanked:
 
      08-02-2012
On Thu, 02 Aug 2012 14:03:30 -0400, Big Steel wrote:

> <http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>


I thought I knew cmd. Oh well :-)

The 5 tips and some of the replies are good stuff, new to me.

Thanks.

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
 
 
 
Zaphod Beeblebrox
Guest
Posts: n/a
Thanked:
 
      08-02-2012
On Thu, 02 Aug 2012 14:03:30 -0400, "Big Steel" <>
wrote in article <>...
>
> <http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>


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.

--
Zaphod

"The best Bang since the Big One" - Eccentrica Gallumbits
 
Reply With Quote
 
Char Jackson
Guest
Posts: n/a
Thanked:
 
      08-02-2012
On Thu, 2 Aug 2012 14:46:07 -0400, Zaphod Beeblebrox
<> wrote:

>On Thu, 02 Aug 2012 14:03:30 -0400, "Big Steel" <>
>wrote in article <>...
>>
>> <http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>

>
>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 tips, thanks.

--

Char Jackson
 
Reply With Quote
 
Gene Wirchenko
Guest
Posts: n/a
Thanked:
 
      08-02-2012
On Thu, 02 Aug 2012 14:03:30 -0400, Big Steel <>
wrote:

><http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>


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.

Sincerely,

Gene Wirchenko
 
Reply With Quote
 
Char Jackson
Guest
Posts: n/a
Thanked:
 
      08-02-2012
On Thu, 02 Aug 2012 13:41:33 -0700, Gene Wirchenko <>
wrote:

>On Thu, 02 Aug 2012 14:03:30 -0400, Big Steel <>
>wrote:
>
>><http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>

>
> 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. ;-)

--

Char Jackson
 
Reply With Quote
 
Gene Wirchenko
Guest
Posts: n/a
Thanked:
 
      08-02-2012
On Thu, 02 Aug 2012 16:26:56 -0500, Char Jackson <>
wrote:

>On Thu, 02 Aug 2012 13:41:33 -0700, Gene Wirchenko <>
>wrote:
>
>>On Thu, 02 Aug 2012 14:03:30 -0400, Big Steel <>
>>wrote:
>>
>>><http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>

>>
>> 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. ;-)


It is my main system. My 7 box is for some development.

I really like to see things properly labelled with a version or a
date. Some day, that page will be out of date.

Imagine reading "We had a wonderful summer vacation in
NiceItalianVillage. We found out that they will be having their 500th
anniversary celebration next year. We are coming back for it." If it
is undated, you do not know if the celebration is upcoming or a
memory. Too many Web pages do not have date or version information.

Sincerely,

Gene Wirchenko
 
Reply With Quote
 
Stan Brown
Guest
Posts: n/a
Thanked:
 
      08-03-2012
On Thu, 2 Aug 2012 11:33:34 -0700, Gene E. Bloch wrote:
>
> On Thu, 02 Aug 2012 14:03:30 -0400, Big Steel wrote:
>
> > <http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>

>
> I thought I knew cmd. Oh well :-)
>
> The 5 tips and some of the replies are good stuff, new to me.


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. :-)

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...
 
Reply With Quote
 
Big Steel
Guest
Posts: n/a
Thanked:
 
      08-03-2012
On 8/2/2012 2:33 PM, Gene E. Bloch wrote:
> On Thu, 02 Aug 2012 14:03:30 -0400, Big Steel wrote:
>
>> <http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>

>
> I thought I knew cmd. Oh well :-)
>
> The 5 tips and some of the replies are good stuff, new to me.
>
> Thanks.
>


Yeah I didn't know them either. I mainly program, and I go to the
Command Prompt when needed. I get emails from How-2-Geek all the time a
lot of nice tidbits on Windows and other O/S(s).
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a
Thanked:
 
      08-03-2012
On Thu, 2 Aug 2012 22:46:17 -0400, Stan Brown wrote:

> On Thu, 2 Aug 2012 11:33:34 -0700, Gene E. Bloch wrote:
>>
>> On Thu, 02 Aug 2012 14:03:30 -0400, Big Steel wrote:
>>
>>> <http://www.howtogeek.com/119386/5-windows-command-prompt-tricks-you-probably-dont-know/?utm_source=newsletter&utm_medium=email&utm_campaign=300712>

>>
>> I thought I knew cmd. Oh well :-)
>>
>> The 5 tips and some of the replies are good stuff, new to me.

>
> 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. :-)


Part of why I posted is that I thought people would like to know that
the link was valid.

If it wasn't valid, I would have posted something different, I guess :-)

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Add functions to command prompt. Fire cat Software 9 11-24-2010 07:35 AM
Open an elevated Command prompt in Windows 7 ........ Valorie *~ alt.windows7.general 27 11-12-2010 03:55 AM
Elevating privilege in command prompt Stan Brown alt.windows7.general 15 08-17-2010 12:30 PM
Modify install/boot disk to boot directly to command prompt KIZMET2010 Customization 1 02-21-2010 01:51 AM
Command prompt fails to open Cameron Windows 7 Support 2 07-18-2009 11:25 AM


All times are GMT +1. The time now is 04:43 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.