PC Review


Reply
Thread Tools Rate Thread

DEL and/or DIR commands

 
 
F. Lawrence Kulchar
Guest
Posts: n/a
 
      12th Dec 2007
Do the DEL and/or the DIR commands work at

Start...Run...Open line or,

must you type CMD and open the command prompt?

Thanks,

FLKulchar
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      12th Dec 2007

"F. Lawrence Kulchar" <(E-Mail Removed)> wrote in
message news:3BC7D184-A4F8-43C5-87DA-(E-Mail Removed)...
> Do the DEL and/or the DIR commands work at
>
> Start...Run...Open line or,
>
> must you type CMD and open the command prompt?
>
> Thanks,
>
> FLKulchar


These are internal commands. If you want to invoke them
from the Run box then you must type them like so:

cmd /c dir c:\windows & pause


 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a
 
      12th Dec 2007
"Pegasus \(MVP\)" <(E-Mail Removed)> wrote:

>
>"F. Lawrence Kulchar" <(E-Mail Removed)> wrote in
>message news:3BC7D184-A4F8-43C5-87DA-(E-Mail Removed)...
>> Do the DEL and/or the DIR commands work at
>>
>> Start...Run...Open line or,
>>
>> must you type CMD and open the command prompt?
>>
>> Thanks,
>>
>> FLKulchar

>
>These are internal commands. If you want to invoke them
>from the Run box then you must type them like so:
>
>cmd /c dir c:\windows & pause


Without the "& pause" on the end in the Run box, you'll see a command
console box flash and disappear. Your command will have run, but you
won't see any output (or error messages) from it. The "& pause" will
cause things to stop until you hit a keyboard key.

--
Tim Slattery
MS MVP(Shell/User)
(E-Mail Removed)
http://members.cox.net/slatteryt
 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      12th Dec 2007

"Tim Slattery" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Pegasus \(MVP\)" <(E-Mail Removed)> wrote:
>
>>
>>"F. Lawrence Kulchar" <(E-Mail Removed)> wrote
>>in
>>message news:3BC7D184-A4F8-43C5-87DA-(E-Mail Removed)...
>>> Do the DEL and/or the DIR commands work at
>>>
>>> Start...Run...Open line or,
>>>
>>> must you type CMD and open the command prompt?
>>>
>>> Thanks,
>>>
>>> FLKulchar

>>
>>These are internal commands. If you want to invoke them
>>from the Run box then you must type them like so:
>>
>>cmd /c dir c:\windows & pause

>
> Without the "& pause" on the end in the Run box, you'll see a command
> console box flash and disappear. Your command will have run, but you
> won't see any output (or error messages) from it. The "& pause" will
> cause things to stop until you hit a keyboard key.
>
> --
> Tim Slattery


Thanks for the hint, Tim . . .


 
Reply With Quote
 
FLKulchar
Guest
Posts: n/a
 
      12th Dec 2007
Thank you for your info..."& pause"

New question: How come if I type "Program Files" instead of "Windows", I do
NOT get the file directory of Program Files; instead, I get..."file not
found".

I tried other folders and all to no avail...for some reason, only the
"Windows" file listing dorks with the 'dir' command.

Can you kindly explain?

Thanks,

FLKulchar



"Tim Slattery" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Pegasus \(MVP\)" <(E-Mail Removed)> wrote:
>
>>
>>"F. Lawrence Kulchar" <(E-Mail Removed)> wrote
>>in
>>message news:3BC7D184-A4F8-43C5-87DA-(E-Mail Removed)...
>>> Do the DEL and/or the DIR commands work at
>>>
>>> Start...Run...Open line or,
>>>
>>> must you type CMD and open the command prompt?
>>>
>>> Thanks,
>>>
>>> FLKulchar

>>
>>These are internal commands. If you want to invoke them
>>from the Run box then you must type them like so:
>>
>>cmd /c dir c:\windows & pause

>
> Without the "& pause" on the end in the Run box, you'll see a command
> console box flash and disappear. Your command will have run, but you
> won't see any output (or error messages) from it. The "& pause" will
> cause things to stop until you hit a keyboard key.
>
> --
> Tim Slattery
> MS MVP(Shell/User)
> (E-Mail Removed)
> http://members.cox.net/slatteryt



 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      12th Dec 2007
You must surround your folder names with double quotes
if they contain embedded spaces:
cmd /c dir "c:\Program Files" & pause


"FLKulchar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thank you for your info..."& pause"
>
> New question: How come if I type "Program Files" instead of "Windows", I
> do NOT get the file directory of Program Files; instead, I get..."file not
> found".
>
> I tried other folders and all to no avail...for some reason, only the
> "Windows" file listing dorks with the 'dir' command.
>
> Can you kindly explain?
>
> Thanks,
>
> FLKulchar
>
>
>
> "Tim Slattery" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> "Pegasus \(MVP\)" <(E-Mail Removed)> wrote:
>>
>>>
>>>"F. Lawrence Kulchar" <(E-Mail Removed)> wrote
>>>in
>>>message news:3BC7D184-A4F8-43C5-87DA-(E-Mail Removed)...
>>>> Do the DEL and/or the DIR commands work at
>>>>
>>>> Start...Run...Open line or,
>>>>
>>>> must you type CMD and open the command prompt?
>>>>
>>>> Thanks,
>>>>
>>>> FLKulchar
>>>
>>>These are internal commands. If you want to invoke them
>>>from the Run box then you must type them like so:
>>>
>>>cmd /c dir c:\windows & pause

>>
>> Without the "& pause" on the end in the Run box, you'll see a command
>> console box flash and disappear. Your command will have run, but you
>> won't see any output (or error messages) from it. The "& pause" will
>> cause things to stop until you hit a keyboard key.
>>
>> --
>> Tim Slattery
>> MS MVP(Shell/User)
>> (E-Mail Removed)
>> http://members.cox.net/slatteryt

>
>



 
Reply With Quote
 
FLKulchar
Guest
Posts: n/a
 
      12th Dec 2007
Thank you...again, your expertise is uncanny...Thank you!

FLKulchar
"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:uPr%(E-Mail Removed)...
> You must surround your folder names with double quotes
> if they contain embedded spaces:
> cmd /c dir "c:\Program Files" & pause
>
>
> "FLKulchar" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Thank you for your info..."& pause"
>>
>> New question: How come if I type "Program Files" instead of "Windows", I
>> do NOT get the file directory of Program Files; instead, I get..."file
>> not found".
>>
>> I tried other folders and all to no avail...for some reason, only the
>> "Windows" file listing dorks with the 'dir' command.
>>
>> Can you kindly explain?
>>
>> Thanks,
>>
>> FLKulchar
>>
>>
>>
>> "Tim Slattery" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> "Pegasus \(MVP\)" <(E-Mail Removed)> wrote:
>>>
>>>>
>>>>"F. Lawrence Kulchar" <(E-Mail Removed)> wrote
>>>>in
>>>>message news:3BC7D184-A4F8-43C5-87DA-(E-Mail Removed)...
>>>>> Do the DEL and/or the DIR commands work at
>>>>>
>>>>> Start...Run...Open line or,
>>>>>
>>>>> must you type CMD and open the command prompt?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> FLKulchar
>>>>
>>>>These are internal commands. If you want to invoke them
>>>>from the Run box then you must type them like so:
>>>>
>>>>cmd /c dir c:\windows & pause
>>>
>>> Without the "& pause" on the end in the Run box, you'll see a command
>>> console box flash and disappear. Your command will have run, but you
>>> won't see any output (or error messages) from it. The "& pause" will
>>> cause things to stop until you hit a keyboard key.
>>>
>>> --
>>> Tim Slattery
>>> MS MVP(Shell/User)
>>> (E-Mail Removed)
>>> http://members.cox.net/slatteryt

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
VBA Commands WLMPilot Microsoft Excel Programming 2 7th Dec 2007 08:05 PM
comparsion overview C++ commands vs C# - commands ? Howie Meier Microsoft C# .NET 3 28th Nov 2006 08:47 AM
Convert 'Open Report' commands to 'Output to' commands Leslie Isaacs Microsoft Access Macros 9 7th Mar 2005 06:03 PM
Convert 'Open Report' commands to 'Output to' commands Leslie Isaacs Microsoft Access VBA Modules 9 7th Mar 2005 06:03 PM
ms commands tim Windows XP Setup 1 11th Nov 2003 10:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:13 PM.