MSFN Forum: Problems with %USERPROFILE% - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problems with %USERPROFILE% Rate Topic: -----

#1 User is offline   booster 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 02-January 04

Posted 10 September 2004 - 04:01 PM

Hi there :hello:


If I have this in my install.ini:

description.0=Total Commander 6.03
command.0=Tc603\Install.exe
collapsed.0=1
selected.0=1

	description.0.0=Total Commander Settings
	command.0.0=xcopy Tc603\wincmd.ini "%ProgramFiles%\totalcmd\wincmd.ini" /Y
	selected.0.0=1

	description.0.1=Total Commander QuickLaunch Shortcut
	command.0.1=xcopy Tc603\*.lnk "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch\" /Y
	selected.0.1=1


and I create a user, say TESTUSER, then %USERPROFILES% is still pointing at Administrator. However if I do this:


description.1=Test
command.1=cmd


And type set in the command windows then %USERPROFILES% is pointing in the right path.


What am I doing wrong ?
It worked in the earlier versions. Using 2.1.10.2 now


#2 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 11 September 2004 - 10:06 AM

Did you select "[x] Use current logged on user"?
Just try %ThisProfile% instead. But I'll fix this. It should also point to the right path.

Benjamin

#3 User is offline   booster 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 02-January 04

Posted 11 September 2004 - 10:22 AM

No I didn't select "[x] Use current logged on user" :)

Will try with %ThisProfile%


Update:

Works with %ThisProfile%
Will test new version.

#4 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 11 September 2004 - 10:29 AM

I fixed this bug now. Just test it again.

Benjamin

#5 User is offline   booster 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 02-January 04

Posted 11 September 2004 - 10:43 AM

Works like a charm now :thumbup


thx

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy