Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Windows Vista Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Reply
 
Thread Tools
Old 02-17-2007, 12:57 PM   #1 (permalink)
Registered User
 
Join Date: Feb 2007
Posts: 1
OS: Vista Home Prem


"The directory name is invalid" error

Running Vista Home Premium for a couple of weeks now without a hitch. Today tried installing a USB driver for a Panasonic camcorder which did install without an error. However, all programs I've tried to install since are failing with the following:

"The directory name is invalid" error

Doesn't matter where the file is located (mapped drive, local, CD ... etc) it just gives an error pointing to the source installation folder.

Tried system restore to before the USB driver was installed but still an issue.

Anyone familiar with this?
dougmilbourne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 02-27-2007, 05:31 AM   #2 (permalink)
Registered User
 
Join Date: Feb 2007
Posts: 1
OS: Vista Home Premium


I've had the same trouble, even when trying to install something I downloaded from Microsoft. It does not seem to matter whether it is on a USB or another hard drive. The Microsoft knowledge base did not cover this when I last looked - 27 February 2007. Must be a glitch in Vista. I am using Vista Home Premium edition.
mikecook is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 03-30-2007, 06:59 PM   #3 (permalink)
Registered User
 
Join Date: Mar 2007
Posts: 2
OS: vista


Re: "The directory name is invalid" error

I have had the same problem as described installing the panasonic gs320 software. HP couldn't help me, had to restore hard drive. Let me know if any one figures this one out.
iloveamish2002 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 04-01-2007, 09:55 PM   #4 (permalink)
Registered User
 
Join Date: Apr 2007
Posts: 3
OS: Vista Ultimate 64 bit


Re: "The directory name is invalid" error

If you get the "directory name is invalid" trying to install software the problem is most likely that the program you are trying to run is attempting to create a temp .exe file. This often is the case with install software particularly when downloaded because it was compressed for size to speed downloading.

What happens is, you right click and say Run as Administrator, go through the screen confirmation but that executable unwrapped another one and it has no way of asking for permission.

Solution:

Create a directory in Program Files just for these cases. Move the software there if possible. Notice how you have to go through the Vista confirmation process just to create the directory? Once it's there Windows will grant it permission to spawn its executable.


Cheers

All Glory To The Hypno-Toad
Hypno-Toad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 04-03-2007, 06:24 AM   #5 (permalink)
Registered User
 
Join Date: Mar 2007
Posts: 2
OS: vista


Re: "The directory name is invalid" error

Thank you for your reply. However, I'm not sure it solves this problem. The panasonic does load. EVERYTHING loaded after this software is installed says 'directory name is invalid'. In otherwords, you can load valid software before loading the panasonic software and it loads fine. However, if you try to load this same software after loading the panasonic software, it will say file name invalid. I've yet to try your suggestion, but I thought I would clarify the problem. Again, thank you.
iloveamish2002 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 04-27-2007, 01:29 PM   #6 (permalink)
Registered User
 
Join Date: Apr 2007
Posts: 2
OS: Microsoft Windows Vista Home Premium


Re: "The directory name is invalid" error

Hello,

This error started occurring to me yesterday. I am running Vista HPremium as well. Has anyone found a solution to fixing this? Please let me know because I am not sure what to do and I am going to go crazy.

Thanks
Innovations is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 04-27-2007, 05:10 PM   #7 (permalink)
Registered User
 
Join Date: Apr 2007
Posts: 1
OS: vista


Re: "The directory name is invalid" error

I'm running a newly installed legit and registered copy of Vista Home Premium. I've not really changed any settings yet. I encountered this same error when trying to install the software that's bundled with my Panasonic PV-GS300. [Installing the software from DVD drive.]

Running as Administrator did not work.
Running in compatibility mode did not, either.

As soon as I would try to run Setup.exe, I'd get the invalid directory/invalid volume error.

I even tried copying the setup directory (yes, all the necessary files) to the desktop, and to the Documents directory; neither was successful.

But! I think Hypno-Toad recommended copying the setup files to the Program Files directory. I did this, and it worked! [Thanks Hypno-Toad!]The stupid Motion DVStudio software or whatever is now installed.

I've not tried running it yet or anything, mind you . . . but I was able to install it.
jar122 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 04-27-2007, 06:56 PM   #8 (permalink)
Registered User
 
Join Date: Apr 2007
Posts: 2
OS: Microsoft Windows Vista Home Premium


Re: "The directory name is invalid" error

Good News guys! I was able to fix it. Just disable the secruity popup system, UAC. Here is how to do it:

Start > type "run" > on the new window type "msconfig" > click on the "Tools" tab > Scroll to "Disable UAC" and click on "Launch". Restart and try running any setup from anywhere on your computer. Also, removes the annoying allow or deny popups. I am so happy :)

Thanks,
Jose
Innovations is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-13-2007, 08:27 AM   #9 (permalink)
Registered User
 
Join Date: Oct 2005
Posts: 153
OS: Windows Vista Home Premium SP1

My System

Send a message via AIM to drumthrasher109 Send a message via MSN to drumthrasher109
Re: "The directory name is invalid" error

I'm having the same problems, just started yesterday.
I didn't install anything or change anything, it started happening whenever I run an administrator app that isn't in Program Files, which would be all my games, and other important things I use.
Disabling UAC would help but you would be less secure I guess...I like to have it on. Anyone know what would be causing this?
drumthrasher109 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 09-13-2007, 06:41 PM   #10 (permalink)
Registered User
 
Join Date: Sep 2007
Posts: 1
OS: Vista


Re: "The directory name is invalid" error

Is it the real cause or just a coincident?
I experienced the problem just after trying to install the Panasonic gs500 driver for my camcorder.

It seems we have something in common that might cause the problem.

I will reinstall the vista in couple of days and I'll see before and after installing the Panasonic thing.
Ma7mood is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 09-14-2007, 04:58 PM   #11 (permalink)
Registered User
 
Join Date: Oct 2005
Posts: 153
OS: Windows Vista Home Premium SP1

My System

Send a message via AIM to drumthrasher109 Send a message via MSN to drumthrasher109
Re: "The directory name is invalid" error

Well, its been a long time since I really had to do anything with this, but for the past while i've just been using Vista with UAC disabled. Makes everything a lot better :)
drumthrasher109 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-28-2007, 04:55 PM   #12 (permalink)
Registered User
 
Join Date: Dec 2007
Posts: 1
OS: vista home premium


Re: "The directory name is invalid" error

OMG, thank you so much. What a pain in the arss. Worked like a champ.
spareliver is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 01-16-2008, 06:14 AM   #13 (permalink)
Analyst, Security Team
 
Thor's Avatar
 
Join Date: Jun 2006
Posts: 509
OS: WinXp Sp2


Re: "The directory name is invalid" error

Quote:
Originally Posted by Innovations View Post
Good News guys! I was able to fix it. Just disable the secruity popup system, UAC. Here is how to do it:

Start > type "run" > on the new window type "msconfig" > click on the "Tools" tab > Scroll to "Disable UAC" and click on "Launch". Restart and try running any setup from anywhere on your computer. Also, removes the annoying allow or deny popups. I am so happy :)

Thanks,
Jose
This is NOT a good idea !!
It compromises your system security

If you get this "The directory name is invalid" error,
first check if the subfolder "Temp" is still present in the Windows folder
(eg. C:\Windows\Temp)
and if you have full access (save and remove test files) to that folder.
Thor is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 02-11-2008, 10:24 PM   #14 (permalink)
Registered User
 
Join Date: Feb 2008
Posts: 1
OS: Vista Home Premium


Re: "The directory name is invalid" error

I had exactly the same problem after installing the Panasonic MiniDV USB drivers.

I checked my hard drive and discovered that I did not have a C:Windows/Temp directory. I created one and everything works again!

Is it possible the Panasonic install deletes the entire Temp folder instead of just the contents?

Thanks for the fix sans security compromise Thor!
jimnugent is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 02-12-2008, 07:33 AM   #15 (permalink)
Registered User
 
Join Date: Oct 2005
Posts: 153
OS: Windows Vista Home Premium SP1

My System

Send a message via AIM to drumthrasher109 Send a message via MSN to drumthrasher109
Re: "The directory name is invalid" error

Since my last post a long time ago, I've still had UAC disabled. Makes everything sooo much better. Can't wait till SP1 next month though.
drumthrasher109 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 04-21-2008, 09:46 AM   #16 (permalink)
Registered User
 
Join Date: Apr 2008
Posts: 2
OS: Windows Vista


Re: "The directory name is invalid" error

Quote:
Originally Posted by Thor View Post

If you get this "The directory name is invalid" error,
first check if the subfolder "Temp" is still present in the Windows folder
(eg. C:\Windows\Temp)
and if you have full access (save and remove test files) to that folder.
I've experienced the "The directory name is invalid" error today and checked the Windows folder from Temp but it's not there. Found a suggestion in another forum, i.e. create Temp folder and hey, presto, everything is working again!

BTW, I also previouxly tried right-clicking and selecting "Run as Administrator" but that just threw up the above mentioned error.

Last edited by sparkie64_uk : 04-21-2008 at 09:59 AM.
sparkie64_uk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 03:50 PM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81