Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How can I find filenames containing spaces?

How can I find filenames containing spaces?

Forum Windows XP : Windows XP General Discussion - How can I find filenames containing spaces?

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

My client cannot handle files with filenames containing spaces... How can I
search for these? The spaces are in different parts of the filenames so I
cannot figure it out. Can you search for a "space" character? When I try
this, it returns all folders and files (many not containing spaces in
filenames)

Sponsored Links
Register or log in to remove.
- 0 +

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

Put the search expression in quotes

eg
"I contain spaces"

Jon


"Max Kashner" <MaxKashner@discussions.microsoft.com> wrote in message
news:EB556F9D-6D3B-4BF7-83EB-62A93E008520@microsoft.com...
> My client cannot handle files with filenames containing spaces... How can
> I
> search for these? The spaces are in different parts of the filenames so I
> cannot figure it out. Can you search for a "space" character? When I try
> this, it returns all folders and files (many not containing spaces in
> filenames)

Reply to Jon
- 0 +

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

Ignore that post

Jon


"Jon" <Email_Address@SomewhereOrOther.com> wrote in message
news:eWQmYPSbFHA.348@TK2MSFTNGP14.phx.gbl...
> Put the search expression in quotes
>
> eg
> "I contain spaces"
>
> Jon
>

Reply to Jon

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

I am not looking for the word "spaces", I am looking for filenames containing
a space character (whitespace), as in the thing you put between words when
you are typing.

"Jon" wrote:

> Put the search expression in quotes
>
> eg
> "I contain spaces"
>
> Jon
>
>
> "Max Kashner" <MaxKashner@discussions.microsoft.com> wrote in message
> news:EB556F9D-6D3B-4BF7-83EB-62A93E008520@microsoft.com...
> > My client cannot handle files with filenames containing spaces... How can
> > I
> > search for these? The spaces are in different parts of the filenames so I
> > cannot figure it out. Can you search for a "space" character? When I try
> > this, it returns all folders and files (many not containing spaces in
> > filenames)
>
>
>

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

Max Kashner wrote:

> My client cannot handle files with filenames containing spaces... How can I
> search for these? The spaces are in different parts of the filenames so I
> cannot figure it out. Can you search for a "space" character? When I try
> this, it returns all folders and files (many not containing spaces in
> filenames)
Hi,

My suggestion:

Do your search with Agent Ransack (free)

Download it from here:
http://www.mythicsoft.com/agentransack/default.aspx

Then, in the File name field, just fill in a space to search for files
with spaces in the file name.


Alternatively, in a command prompt, the following command will find
all files with spaces in the file name (will cover all files in the
C: drive). The output will be redirected to the text file C:\Files.txt

dir c:\"* *" /S /A-D /B >C:\Files.txt



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/s [...] fault.mspx

Reply to Anonymous
- 0 +

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

start > run > cmd

dir *" "*.* /s

Jon


"Max Kashner" <MaxKashner@discussions.microsoft.com> wrote in message
news:EB556F9D-6D3B-4BF7-83EB-62A93E008520@microsoft.com...
> My client cannot handle files with filenames containing spaces... How can
> I
> search for these? The spaces are in different parts of the filenames so I
> cannot figure it out. Can you search for a "space" character? When I try
> this, it returns all folders and files (many not containing spaces in
> filenames)

Reply to Jon

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

Thanks! That worked great.

"Jon" wrote:

> start > run > cmd
>
> dir *" "*.* /s
>
> Jon
>
>
> "Max Kashner" <MaxKashner@discussions.microsoft.com> wrote in message
> news:EB556F9D-6D3B-4BF7-83EB-62A93E008520@microsoft.com...
> > My client cannot handle files with filenames containing spaces... How can
> > I
> > search for these? The spaces are in different parts of the filenames so I
> > cannot figure it out. Can you search for a "space" character? When I try
> > this, it returns all folders and files (many not containing spaces in
> > filenames)
>
>
>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How can I find filenames containing spaces?
Go to:

There are 527 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them