Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tech Tips & Tricks
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor ram recovery router safe mode screen slow sound spyware trojan upgrade video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
FIND a filename with embedded spaces

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
rds33's Avatar
Senior Member with 135 posts.
 
Join Date: Nov 2001
Location: Oakland CA
20-Nov-2001, 01:58 PM #1
FIND a filename with embedded spaces
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 Thumbnails
FIND a filename with embedded spaces-find-filename-solution.gif  
MacFromOK's Avatar
Senior Member with 1,952 posts.
 
Join Date: Mar 2001
Location: Oklahoma
Experience: idiota de la aldea
20-Nov-2001, 03:25 PM #2
You can also use the DOS DIR command and
enclose long filenames (with spaces) in quotes.

Open a DOS box, then type:

cd\

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:

d:

Press the ENTER key.

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

Cheers, Mac
__________________
MacFromOK : PC User
Do I have all the answers?
I don't even have all the questions!

____________________________________________________________
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 10:28 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.