In response to an PM I received about the logic of the disable_k4pc_download.bat file attached to
message #84, a few comments about the batch file.
- No, it does not actually block the download of the update. You will find a file with a name such as temp_%1%2 in the Kindle directory. The updates file prevents the creation of an updates directory where that file would be unpacked prior to installation.
- The two locations for the K4PC executable are needed since the one in %LocalAppData%\Amazon\Kindle is the standard install but if you install with administrator rights, the executable would be installed in %PROGRAMFILES(X86)%\Amazon\Kindle making it available to all users.
- In either case, the program data including updates is stored in %LocalAppData%\Amazon\Kindle which is where the updates file is created after deleting the updates directory. So if you have multiple user logins, each user would have to run the batch file under their login.
- %LocalAppData%\ is shorthand for the location of the Local subdirectory of the AppData directory for the current user.
- %PROGRAMFILES(X86)%\ is shorthand for the location of the Program Files (x86) directory.
Using those two variables generalizes the batch file so it does not need to be customized.