2 Replies - 1470 Views - Last Post: 26 July 2012 - 03:50 PM

#1 Coding in the name of  Icon User is offline

  • D.I.C Head

Reputation: 67
  • View blog
  • Posts: 231
  • Joined: 07-July 10

My Documents folder deleted, causes error installing some programs

Posted 26 July 2012 - 02:00 PM

When I try to install certain programs onto my PC (Windows 7 Ultimate x64) I get an error "1325.Documents is not a valid short file name". I've followed up the error and it was caused when I swapped the drives in my PC. The solutions to the problem I have found aren't working for me for reasons explained in a moment.

I had two drives in my PC, one for the system and one for general files. I had changed the location of my documents, my music etc. to folders on the secondary drive. Then recently I removed that drive and replaced it with another one. So now I have no my documents folder and I can't find any way to set the location to a new folder. There is no link to a my documents folder in my libraries whose use is suggested by solutions I've found on the internet.

Anybody got a solution?

Thanks in advance.

Is This A Good Question/Topic? 0
  • +

Replies To: My Documents folder deleted, causes error installing some programs

#2 calvinthedestroyer  Icon User is offline

  • D.I.C Lover

Reputation: 167
  • View blog
  • Posts: 1,908
  • Joined: 13-October 07

Re: My Documents folder deleted, causes error installing some programs

Posted 26 July 2012 - 03:15 PM

What programs are you trying to install?

why do those programs care that you have or don''t have a my documents folder?


This guy talks about changing the registry:

Quote

Create a system restore point:
Start->All Programs->Accessories->System Tools->System Restore and
create a new restore point.

Start the registry editing process:
Start->Run->Type: 'regedit'
Registry editor window opens
Press: 'Ctrl-F' to open search window
Type: '\Documents\' to search for registry values of this type
This will highlight the area where the value contains the searched
string.

In mine it was found under the explorer user shell folders for the
History, Favorites, Cache, Cookies, etc. and the values looked
something like this:
J:\Documents\CruzerSyncData\Favorites

SO I found the Backup_Favorites which had this value:
%USERPROFILE%\Favorites

And I copied this and pasted it into the value for Favorites.
so that the registry looked like this

Favorites %USERPROFILE%\Favorites
and not:
Favorites J:\Documents\CruzerSyncData\Favorites

I repeated this for the History, Favorites, Cache, Cookies, etc by
simply replacing the values containing "\Documents\" with the values
from the backups. There were a couple that had different end codes and
I simply maintained those and replaced the initial part containing the
"J:\Documents\CruzerSyncData\" with %USERPROFILE%.

After I changed all of the values that showed up using the search "
\Documents\ " I was immediately able to install msicuu2.exe and clean up
to install VISIO 2007 followed by OFFICE 2007 error free.

I hope this helps and doesn't ruin anybodies computers.

error 1325

But I wouldn't go playing around with the registry. You should look at the registry to see if it looks like that guys registry. And maybe consult an expert before changing anything.

I wonder if, by you moving the "my documents" folder, it changed the registry settings in windows to point to the D: drive instead of C:.
Was This Post Helpful? 1
  • +
  • -

#3 Coding in the name of  Icon User is offline

  • D.I.C Head

Reputation: 67
  • View blog
  • Posts: 231
  • Joined: 07-July 10

Re: My Documents folder deleted, causes error installing some programs

Posted 26 July 2012 - 03:50 PM

That did it, thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1