|15 Apr 2013||#1|
Finding filenames containing double spaces.
Greetings. Noob here. Please be gentle. I searched everywhere, but can't find answer.
I have 40,000+ filenames in 1 folder and subfolders of which 140 filenames contain double spaces. I would LIKE to find/use a script to find and rename these files to replace the double spaces to just one, but would be happy just to find and list these files where I can print the listing.
Using the standard search in explorer doesn't work ... even when placing the double spaces in quotes.
Any help would be appreciated!
|My System Specs|
|15 Apr 2013||#2|
Open a Elevated Command prompt.
Change to the drive and folder you want to work with.
For example: cd C:\Users\xxxxxxxx\Documents\Consulting
Type dir *" "* and press Enter. (there must be exactly two blank spaces between the double quotes)
That will list all the files with exactly two spaces in the name. If you want to create a list you can edit and work with, do this:
Type dir *" "* > 2blanks.txt and press Enter.
Type notepad 2blanks.txt and press Enter to edit the output list.
|My System Specs|
|15 Apr 2013||#4|
dir *" "* /s > file.txt
Is there one folder with lots of sub folders one level down?
top folder\sub folder1
top folder\sub folder2
top folder\sub folder3
top folder\sub folder4
Or, are there several levels of folders?
top folder\sub folder1\sub folder too
top folder\sub folder2\sub folder too
top folder\sub folder3\sub folder too
Are these files at all levels of folders?
top folder\sub folder\filename5
top folder\sub folder\filename6
top folder\sub folder\filename7
top folder\sub folder\sub folder too\filename8
top folder\sub folder\sub folder too\filename9
|My System Specs|
|Similar help and support threads|
Finding something that responds to double mouse button 2 clicks
Normally, the left mouse button is mouse button #1 and the right button is button #2. When configured for left-handed use, the relationships are reversed. My left button sometimes generates two clicks, making it hard to change the status of a checkbox, or ordering two items in Amazon instead of...
Spaces in document 99--100
Can somebody help me out here Please,How do I solve the space between the double numbers & the 100 and the text in a word document. as per image. Windows 7 and office 2010. Many Thanks. http://i.imgur.com/piUiVbJ.jpg
I have Windows 7 installed on my laptop. I have two drives one Drive C i.e. System Drive and other is Drive D. I have 320 GB Hard Drive. 60GB on Drive C and around 230GB on Drive D. I am facing a strange problem in my system. Drive C is almost 50GB filled with Windows, System Updates and...
|Performance & Maintenance|
Underscore between spaces?
I want a program, that I can add a underscore between spaces, if I want using a shortcut key ?
Great computing/technology based double double meaning jokes?
One of my (real life :p) friends said in IRC to all of us that we should each buy a 3DS. I responded "I'd rather buy a Vita", "BAZINGA - double meaning ;P" (as as you probably all know, vita is latin for life, as well as the name of the PlayStation Vita, so it was the usual "I'd rather get a...
Double Monitors = Double Desktop Headache!
I just got a new monitor, and I've always wondered what it would be like to have 2 monitors at once, seeing as my 16" has nothing wrong with it (aside from a scuff mark in the LCD when I dropped it on a screwdriver) Anyway, I got it setup, and it's amazing! I'd say it's increased my productivity...
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 05:13.