DEL and/or DIR commands

  • Thread starter Thread starter F. Lawrence Kulchar
  • Start date Start date
F

F. Lawrence Kulchar

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
 
F. Lawrence Kulchar said:
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
 
Pegasus \(MVP\) said:
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 said:
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.

Thanks for the hint, Tim . . .
 
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
 
You must surround your folder names with double quotes
if they contain embedded spaces:
cmd /c dir "c:\Program Files" & pause
 
Back
Top