Hectic Posted June 26, 2006 Share Posted June 26, 2006 Just a quick question, just because I can't find it anywhere. When doing the $OEM$ folder and you put $1, $$, etc. folders in it. In your batch file (running from GUIRunOnce) to access whatever you have in the $1 folder (or rather what was copied over from in that folder) you use the %systemdrive% prefix. For the $$ folder, you use %windir% prefix. What about for $Prog, $Docs, etc.? Is it %progfiles% or %programfiles%? %docsnsettings% or %documentsandsettings%? I've just never seen these actually used in any example, so could someone post the proper prefixes? Thanks! Link to comment Share on other sites More sharing options...
Sonic Posted June 26, 2006 Share Posted June 26, 2006 Type in a cmdset to know all variable available ...For $Progs -> %ProgramFiles% Link to comment Share on other sites More sharing options...
Bezalel Posted June 26, 2006 Share Posted June 26, 2006 There is no direct variable for $Docs but you can use %ALLUSERSPROFILE%\.. Link to comment Share on other sites More sharing options...
Hectic Posted June 26, 2006 Author Share Posted June 26, 2006 OK, thanks! That answers my question! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now