1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

FIND a filename with embedded spaces

Discussion in 'Tech Tips and Reviews' started by rds33, Nov 20, 2001.

Thread Status:
Not open for further replies.
  1. rds33

    rds33 Thread Starter

    Nov 19, 2001
    Windows FIND does a terrible job of locating filenames that have embedded spaces. Putting the name in quotes ("The Way we Were") doesn't work. Try it. You'll see. Note, however, that searching for a string with embedded spaces in the TEXT of a file does work. [Strange]
    Anyhow, the secrect is to replace the spaces in a filename with question marks.
    Note also that you don't need to use capital letters.
    See attachment.

    Attached Files:

  2. MacFromOK


    Mar 18, 2001
    You can also use the DOS DIR command and
    enclose long filenames (with spaces) in quotes.

    Open a DOS box, then type:


    Press the ENTER key.

    type this (using your filename):

    dir /s "your filename goes here"

    Press the ENTER key.

    This will locate and display the path to your file.
    Typing the "cd\" command gets you to the root
    of the drive where the command will search all
    directories (folders) and subdirectories. Also
    handy for finding duplicate files.

    If you have more than one drive, or if you wish to
    search a CDROM or floppy, do this first in the
    DOS box:

    Type the drive letter with a colon like this:


    Press the ENTER key.

    This gets you to the drive you prefer, where
    you can use the "cd\" and "dir /s" commands.

    Cheers, Mac :)
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Similar Threads - FIND filename embedded
  1. ekim68
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/59110

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice