On Windows XP, Start > Run "My Documents" sometimes doesn't work

2800
Clayton Hughes

On all of my home computers, I can enter my documents into the Start > Run prompt and the My Documents folder of the current profile will open up. What's more, I can continue typing subfolders, files, etc. and auto-complete works and it's smart and enjoyable. I can't check at the moment, but I'm almost positive entries like My Pictures and My Music also go to their correct folders.

On my work computers, if I enter my documents into the Start > Run prompt, I get the following error:

"Windows cannot find 'my'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start Button, and then click Search."

Entering "my documents" (with the quotes) into the field produces a similar error, although it of course changes to reflect that 'my documents' can't be found.

I can sort of circumvent this by creating a shortcut in my PATH named 'my' that points to My Documents folder, but this doesn't solve the auto-complete option (and it's otherwise imperfect, of course, because "my pictures" or "my music" all direct to the same place.

A google search doesn't provide much help on this, although it does identify a poster in 2007 with this same question at another board: http://www.msfn.org/board/lofiversion/index.php/t124813.html (Login required, but Google cache available here: http://preview.tinyurl.com/ygxhwwl)

Is this just a limitation of the networks belonging to a domain, or is there some way I can get this functionality back? My documents folder does live in the standard place (C:\Documents and Settings\My Documents), and not on a network drive or anything.

It's probably worth adding that the computers are part of some freakish Novell domain thing, too. I'm not in IT here so I'm not too up on the details.

Thanks for any help/suggestions!

1
@Clayton, ich glaube nicht, dass Novell damit zusammenhängt, weil ich auf meinem Office XP-Computer in einer Domäne dasselbe erlebe und wir Novell nicht verwenden. Ich habe festgestellt, dass es auf meinem Arbeitsgruppencomputer zu Hause funktioniert. Marcus Adams vor 14 Jahren 0
möglicherweise Ordnerumleitung? tonyr roth vor 14 Jahren 0
@ Marcus - das ist gut zu wissen, aber ich war nicht positiv. Clayton Hughes vor 14 Jahren 0

2 Antworten auf die Frage

2
Bavi_H

I've noticed this also. On my home computer I can type my documents in the Run box and it opens the My Documents folder. But on my work computer it doesn't work.

I haven't found what setting turns this off or on, but I played around with it now and noticed the following pattern: You can type the name of any file or folder in your Documents and Settings\username folder without quotation marks, even if it has internal spaces, and it will open correctly.

This suggests the Documents and Settings\username folder may be a default location used if the command entered in the Run box isn't found, and it works even without quotation marks. This clue may help us discover the true setting or reason why this works.

Further tests

I compared the environment variables on my home and work computers and noticed the following difference.

At home, HOMEDRIVE and HOMEPATH together point to C:\Documents and Settings\username

At work, HOMEDRIVE and HOMEPATH together point to X:\ (a networked drive letter). My work computer also has a HOMESHARE variable that indicates the share name of the networked drive letter.

At work, I was able to enter the the names of files or folders in my X:\ folder in the Run box, without quotation marks, even if they had spaces in them, and they opened correctly.

Answer

After some testing, it looks like the Run box searches for matches without requiring quotation marks in the home folder first, then it moves on to searching for matches in the PATH and requiring quotation marks if the name contains spaces.

The correct way to change the home folder is to use the Computer Management tool to modify the properties of the user in question. The environment variables are automatically set by Windows based on the user properties and changing the variables yourself may cause unpredictable results. (That last page is for Windows 2000, but I guess the same advice would apply to Windows XP.)

Workaround

To restore the ability to enter my documents into the Run box, you can put a shortcut in your home folder named My Documents that points to the correct My Documents folder. (To quickly open your home folder, enter . in the Run box.) However, the shortcut doesn't work with additional subfolders on the end of it.

Guter Punkt, Bavi. Wie Nicorellius oben erwähnt hat, befindet sich% USERPROFILE% (was im Allgemeinen auf C: \ Documents and Settings \ username verweist) in der PATH-Variablen. Das könnte dazu führen ... Clayton Hughes vor 14 Jahren 0
Clayton Hughes: Ich denke, es ist etwas Besonderes als der PFAD. Das Feld Ausführen erkennt Dateien oder Ordner im Basisverzeichnis, deren Namen Leerzeichen enthalten, ohne dass Sie sie in Anführungszeichen setzen müssen. PATH-Standorte funktionieren nicht so. Außerdem befindet sich mein Heimatverzeichnis nicht in meinem PFAD und das Feld Ausführen durchsucht es immer noch nach Übereinstimmungen. Bavi_H vor 14 Jahren 0
Um die Verknüpfung zu umgehen: Zu Hause befindet sich mein Home-Ordner auf meinem Computer und ich könnte meine Dokumente in das Feld Ausführen eingeben, um die Verknüpfung zu starten. Bei der Arbeit befindet sich mein Stammordner jedoch in einem freigegebenen Netzwerkspeicherort, und ich musste meine documents.lnk im Feld Ausführen eingeben, um die Verknüpfung zu starten. Bavi_H vor 14 Jahren 0
Danke für die exzellente Recherche, Bavi! Es scheint jedoch, dass dies möglicherweise nicht der Fall ist, wenn der Basisordner auf C: \ gesetzt ist. Clayton Hughes vor 14 Jahren 0
1
MDMarra

Are you actually putting quotes around "my documents"? You should be, otherwise it tries to run "my" with "documents" as a parameter, which obviously is not right.

Es funktioniert ohne Anführungszeichen auf dem Heim-PC. Es schlägt immer noch fehl mit Anführungszeichen für die anderen (die Nachricht ändert sich, um anzuzeigen, dass "meine Dokumente" nicht gefunden werden können). Ich werde die Frage mit dieser Info aktualisieren. Clayton Hughes vor 14 Jahren 0
Ich kann Meine Dokumente in Start> Ausführen eingeben und der entsprechende Ordner wird geöffnet. Wurden diese Ordner umbenannt? Nach dem Umbenennen der Benutzerordner unter "Dokumente" und "Einstellungen" sind seltsame Dinge passiert. Möglicherweise möchten Sie auch Ihre PATH-Variablen überprüfen. nicorellius vor 14 Jahren 0
Soweit ich weiß, wurden die Ordner nicht umbenannt. Schlagen Sie vor,% USERPROFILE% zu meinem Pfad hinzuzufügen? Ich muss es überprüfen, aber ich bin fast sicher, dass es nicht im PFAD für die Arbeitsmaschine steht. Clayton Hughes vor 14 Jahren 0