Baku

Supported file variables

%ALLUSERSPROFILE% Location of the All Users Profile.
%APPDATA% Location where applications store data by default.
%DOCUMENTS% My Documents folder.
%LOCALAPPDATA% Location where applications store local data by default.
%COMPUTERNAME% Name of the computer.
%HOMEDRIVE% Local workstation drive letter is connected to the user's home directory. This variable is set based on the value of the home directory. The user's home directory is specified in Local Users and Groups.
%HOMEPATH% Full path of the user's home directory. This variable is set based on the value of the home directory. The user's home directory is specified in Local Users and Groups.
%PROGRAMFILES% This variable points to Program Files directory, which stores all the installed program of Windows and others. The default on english-language systems is C:\Program Files.
%HOMESHARE% Network path to the user's shared home directory. This variable is set based on the value of the home directory. The user's home directory is specified in Local Users and Groups.
%SYSTEMDRIVE% Drive containing the Windows root directory (i.e., the system root).
%SYSTEMROOT% Location of the Windows root directory.
%TEMP% or %TMP% Default temporary directories for applications that are available to users who are currently logged on. Some applications require TEMP and others require TMP.
%USERDOMAIN% Name of the domain that contains the user's account.
%USERNAME% Name of the user currently logged on.
%USERPROFILE% Location of the profile for the current user.
%WINDIR% Location of the OS directory.

Supported registry variables

HKEY_CURRENT_USER Stores settings that are specific to the currently logged-in user.
HKEY_LOCAL_MACHINE stores settings that are general to all users on the computer.
HKEY_CLASSES_ROOT Stores information about registered applications, including associations from file extensions and OLE object class ids to the applications used to handle these items.
HKEY_USERS Contains subkeys corresponding to the HKEY_CURRENT_USER keys for each user registered on the machine.



Customize Applications

To add additional applications, or customize existing ones on the MRU scan, paste the following code on a xml file and save it in the MRU Lists\Applications folder.

<?xml version="1.0encoding="UTF-8"?>
<SectionList>
  <Section>
    <Name>Registry</Name>
    <KeyList>
      <Key>
        <Name>Detect</Name>
          <Value>HKEY_CURRENT_USER\Software\ACME\Awesome Product\6.*</Value>
      </Key>
<!--
This value will detect if the application is installed on your system, if the application doesn't store settings on the registry just ignore this section.


You can specify alternate keys that should be detected (ex: HKEY_CURRENT_USER\Key1;HKEY_CURRENT_USER\Key2).

 -->
      <Key>
        <Name>Key1</Name>
        <Value>HKEY_CURRENT_USER\Software\ACME\Awesome Product\6.*\Preferences</Value>
      </Key>
<!--
This value supports wildcards to make it easier to detect multiple versions of the same application.
-->
      <Key>
        <Name>Value1</Name>
        <Value>MostRecentClips1;MostRecentClips2</Value>
      </Key>
<!--
This value specifies the items to be deleted from the registry key. If this section is not present the whole key will be deleted.
-->
    </KeyList>
  </Section>
  <Section>
    <Name>Files</Name>
    <KeyList>
     <Key>
        <Name>Detect</Name>
        <Value>%appdata%\ACME\Awesome Product</Value>
      </Key>
<!--
This value will detect if the application is installed on your system, you can specify alternate files or folders that should be detected (ex: %appdata%\Folder1;%appdata%\
Folder2).

Only specify this value if you didn't already include it in the Registry section.
-->

      <Key>
        <Name>Folder1</Name>
        <Value>%appdata%\ACME\Awesome Product</Value>
      </Key>
      <Key>
        <Name>Type1</Name>
        <Value>cookies.txt;ctd.dat;player.ste</Value>
      </Key>
<!--
This value specifies the file types to be deleted from the specified folder (wildcards are supported).
-->

     <Key>
        <Name>Recursive1</Name>
        <Value>1</Value>
      </Key>
<!--
This value specifies whether sub folders should also be searched.
-->

    </KeyList>
  </Section>
</SectionList>

When you are done start baku with the -trimmru argument so baku will examine existing MRU Lists files to see if any of them are already detected by heuristics.