M
Martin T.
Hello.
I have two Windows XP boxes. (german, service pack 2)
On both machines the settings for the environment variable %TEMP% are
the same, that is:
HKEY_CURRENT_USER\Environment -
TEMP [REG_EXPAND_SZ] = %USERPROFILE%\Lokale Einstellungen\Temp
One one box resolving %TEMP% will yield the short pathname and on the
other box I'll get the long pathname. (Note that %USERPROFILE% will
yield the long path on both boxes
PC1:
C:\>echo %USERPROFILE%
C:\Dokumente und Einstellungen\Trappel
C:\>echo %TEMP%
C:\DOKUME~1\Trappel\LOKALE~1\Temp
PC2:
C:\>echo %USERPROFILE%
C:\Dokumente und Einstellungen\hammer
C:\>echo %TEMP%
C:\Dokumente und Einstellungen\hammer\Lokale Einstellungen\Temp
C:\>cd C:\DOKUME~1
C:\DOKUME~1> REM ... note here that the short pathname does exists
Opening %TEMP% via Start > Run ... will yield the same different
pathnames in the title bar of the new explorer windows so I'm *guessing*
it's not a cmd.exe issue but some explorer policy.
Does anyone know which setting in windows controls this different behaviour?
cheers,
Martin
I have two Windows XP boxes. (german, service pack 2)
On both machines the settings for the environment variable %TEMP% are
the same, that is:
HKEY_CURRENT_USER\Environment -
TEMP [REG_EXPAND_SZ] = %USERPROFILE%\Lokale Einstellungen\Temp
One one box resolving %TEMP% will yield the short pathname and on the
other box I'll get the long pathname. (Note that %USERPROFILE% will
yield the long path on both boxes
PC1:
C:\>echo %USERPROFILE%
C:\Dokumente und Einstellungen\Trappel
C:\>echo %TEMP%
C:\DOKUME~1\Trappel\LOKALE~1\Temp
PC2:
C:\>echo %USERPROFILE%
C:\Dokumente und Einstellungen\hammer
C:\>echo %TEMP%
C:\Dokumente und Einstellungen\hammer\Lokale Einstellungen\Temp
C:\>cd C:\DOKUME~1
C:\DOKUME~1> REM ... note here that the short pathname does exists
Opening %TEMP% via Start > Run ... will yield the same different
pathnames in the title bar of the new explorer windows so I'm *guessing*
it's not a cmd.exe issue but some explorer policy.
Does anyone know which setting in windows controls this different behaviour?
cheers,
Martin