Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Folder Naming Issues

31 Oct 2012   #1

Win 7 Home Premium x64
Folder Naming Issues


I installed an application in a folder named Blue Music.
It functions as expected.
I installed another app in a folder named Blue. Both in C.
The system doesn't seem to let the app in Blue run until I do something to
distinguish the folder name from the first four characters of the app folder Blue Music.

This isn't happening in XP but there must be a protocol preventing functionality in a folder whose name is also the first part of another folder name.

Anyone familiar with this?

I'm guessing there is a protocol so I tried removing the folder Blue Music. deleted.
Yet the app in Blue still doesn't function until I do something to the name, such as Blue 2. Then all is well.

So, I'm guessing the protocol registers folder names somewhere to manage this. I'd like to be able to access that and manage it myself.

Thanks for any suggestions,

My System SpecsSystem Spec

31 Oct 2012   #2

Windows 7 32 bit

How are you running it? And what happens when you try to run it? Nothing? An error msg?

Also you have zero system specs filled out. Makes for a lot of wasteful Q&A later on.
My System SpecsSystem Spec
31 Oct 2012   #3

Win 7 Home Premium x64

Hi Miles,
Thanks for your interest.
I'll try to fill you in. Windows 7 Home Premium SP1 64 bit 4GB Ram Toshiba Satellite AMD E300.
When I try to run the exe in Folder Blue, the mouse pointer starts to indicate activity and then reverts to being just a pointer. End of deployment; no messages. If I change the folder name to, say, BlueT, the exe will run; if I revert to Blue, it won't run. In the post above, I mention that deleting the Blue Music folder had no effect on whether the exe in Blue would run, it still wouldn't. But, then I did a through search for any remnants of Blue Music; shortcuts, start menu entries etc. Once all those had been removed, the exe in Blue now runs as expected. So this suggests a rule in Windows 7 about folder naming that is new.
BTW, these are applications I developed.
My System SpecsSystem Spec

31 Oct 2012   #4

Windows 7 32 bit

Ok, in case you post a different issue in the future, if you fill in the system specs in your profile then there's a button on every one of your posts people can click to get them(My System Specs in lower left corner.. see Quick Links for the link to the system specs fill in area) They don't have to search this thread that they won't know about.

On the naming thing it sounds really bizarre. Have you run any scans like MalwareBytes Anti-Malware? What did you use to implement your programs? Is it a scripting or straight compiled language or what?
My System SpecsSystem Spec
01 Nov 2012   #5

Windows 7 Ultimate x64

It's difficult to tell for sure, but I guess that the space in blue music is causing problems and the program is trying to find files in the wrong place. Since you've made both programs, I guess the easiest thing is to do a stepthough with a debugging exe placed in blue and see where does it crashes.

You may start searching for occurrences in your code where it refers to file system paths, and make sure they're properly quoted. Generally, when you refer to a path, instead of putting something like c:\blue music\blablabla.dll you should instead use "c:\blue music\blablabla.dll", with the quotes INCLUDED in the variable passed to the API, to make sure Windows don't confuses paths with embedded spaces.
My System SpecsSystem Spec
01 Nov 2012   #6

Windows 7 32 bit

Yup. I think they changed it in Win98. I don't remember for sure. They allowed spaces in paths. It's the most common cause of error.

Although usually you get an error like "system cannot find C:\Program" because double quotes weren't wrapped around "C:\Program Files\whatever\whatever.exe"

If you are double clicking directly on the exe in Explorer and not a shortcut, that should not be the reason. It should still come up.
My System SpecsSystem Spec

 Folder Naming Issues

Thread Tools

Similar help and support threads for2: Folder Naming Issues
Thread Forum
Win rar naming Software
A Means To Set The Method Of Naming A File/Folder - Please Read...? General Discussion
LAN naming issue Network & Sharing
naming a folder as an album?? Music, Pictures & Video
Naming printers Network & Sharing
Naming Files General Discussion
Naming windows 7 Chillout Room

Our Sites

Site Links

About Us

Find Us

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 04:01 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33