MSFN Forum: GuiRunOnce - MSFN Forum

Jump to content


If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

GuiRunOnce %source% environment variable Rate Topic: -----

#1 User is offline   boogerlad 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 18-October 09

Posted 12 July 2012 - 04:23 PM

Hi, I was going through a customized copy of Windows XP I created several years ago, and I looked inside one of the batch files. I noticed it had some code I don't remember writing
for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i
is that code a result of using the source variable? If not, what does it do?


#2 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 2,050
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 12 July 2012 - 04:38 PM

Yes, it's the result of using the source variable. nLite does it.

#3 User is offline   boogerlad 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 18-October 09

Posted 12 July 2012 - 04:47 PM

Thank you so much!

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 - 2013 msfn.org
Privacy Policy