%VarsSystemEtc% Show Routine Code Author: Siegfried
Version: 1 - Date: 2007-04-20
Example call:
%VarsSystemEtc%
Remarks:
Defines the variables listed below:
%PEroot% is "F:\_Reatogo\2007-04-19\REATOGO-240"
%Blank_in_Path% is "no"
%Plugin% is "F:\_Reatogo\2007-04-19\REATOGO-240\plugin"
%OEM1% is "F:\_Reatogo\2007-04-19\REATOGO-240\OEM1"
%OEM2% is "F:\_Reatogo\2007-04-19\REATOGO-240\OEM2"
%FullOutDir% is "F:\_Reatogo\2007-04-19\REATOGO-240\ReatogoPE"
%IsoFile% is "F:\_Reatogo\2007-04-19\REATOGO-240\reatogoBuilder.iso"
%PlugLab_Date% is "2007-04-23"
%PlugLab_Time% is "1455h02"
%PlugLab_TimeStamp% is "2007-04-23-1455h02"
%FileSystem% is "NTFS"
%RegEXEver_Sys% is "5.1.2600.2180"
%OSLang% is "0407"
%OSVersion% is "WIN_XP"
%OSBuild% is "2600"
%OSServicePack% is "Service Pack 2"
%Source_OSVersion% is "WIN_XP"
%Source_OSServicePack% is "Service Pack 2"
%Source_Product_Name% is "Windows XP Home Edition"
%Source_CD_Name% is "Windows XP Home Edition Service Pack 2-CD"
%Source_Path% is "F:\_Reatogo\XP-sp2-home\i386"
%OemCP% is "850"
%ACP% is "1252"
%WorkGroup% is "MSHEIMNETZ"
Used for string replacement in Reg2Inf:
%Dos_ProgramFiles% is "C:\PROGRA~1"
IMPORTANT note regarding codepages:
The codepage for this entire run has at this stage already been set to ANSI by SCRIPT_MNGR.cmd during the initialisation.
ANSI cp is necessary for special chars, that are not included in OEM cp, to be handled correctly in folder names etc.
The cp setting does not survive the current instance of cmd.exe and it will default to OEM cp again for the next instance of cmd.exe.
Should you require OEM cp for any portion of the code in your script, set it temporarely to OEM and then back to ANSI like this:
chcp %OEMCP% > NUL
- here your code requiring OEM cp -
chcp %ACP% > NUL