#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    92
    Rep Power
    51

    Command line in Win7


    (1) Is there a command for finding files by file name or by extension? As far as I can tell there's only find "XXX" c:\xxx\xxx whatever, which searches for text strings within files, but I only know the name & extension of the file I need to find, not what's in it.

    (2) is there any way to get the undelete command to work under W7?

    (3) cana nyone give me a quick clarification of the difference/relationship between cmd.exe & DOS, or point me to a link where I can find out, please. It looks to me like cmd.exe is derived from DOS, but I know it's not an OS.

    My first question is most important at the moment, so if you only want to respond to one, that'd be best for me!

    TIA
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,056
    Rep Power
    9398
    1.
    Code:
    dir /s /a /b C:\filename.ext
    dir does a directory listing. /s means it looks through subdirectories, /a shows hidden files, and /b suppresses the verbose output leaving just the filename.

    2. There is no undelete.

    3. DOS is/was a set of operating systems. cmd.exe is based on the old command.com which is based on MSDOS (one of the DOSes). Check Wikipedia for more.

    Comments on this post

    • jifjaf agrees

IMN logo majestic logo threadwatch logo seochat tools logo