Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Moving temporary files in other location.

Featured Replies

I'm trying to move temporary files for all users to one location (say C:\Temp). That will be a Ram-disk and all the files will be deleted after computer being turned off. But it will be later (can't install needed Ram-disk unattended at the moment). I am using a .cmd file from cmdlines.txt:

cmdow @ /HID
@echo off

SET KEY=HKCU\Environment
REG ADD "%KEY%" /f /v "TEMP" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"
REG ADD "%KEY%" /f /v "TMP" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"

SET KEY=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
REG ADD "%KEY%" /f /v "Cookies" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"
REG ADD "%KEY%" /f /v "Recent" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"
REM REG ADD "%KEY%" /f /v "History" /t REG_EXPAND_SZ /d "%systemdrive%\Temp\History"
REG ADD "%KEY%" /f /v "Cashe" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"

SET KEY=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
REG ADD "%KEY%" /f /v "Cookies" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"
REG ADD "%KEY%" /f /v "Recent" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"
REM REG ADD "%KEY%" /f /v "History" /t REG_EXPAND_SZ /d "%systemdrive%\Temp\History"
REG ADD "%KEY%" /f /v "Cashe" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ActiveX Cache
REG ADD "%KEY%" /f /v "0" /t REG_SZ /d "%systemdrive%\Temp"

SET KEY=HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
REG ADD "%KEY%" /f /v "TEMP" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"
REG ADD "%KEY%" /f /v "TMP" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"

The only folder I can't move at the moment is "Temporary Internet Files". There is a line

REG ADD "%KEY%" /f /v "Cashe" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"

but the location doesn't change (it is in profiles folder). Any thoughts or help with solving this would be appriciated.

Regards,

Oleg II


REG ADD "%KEY%" /f /v "Cashe" /t REG_EXPAND_SZ /d "%systemdrive%\Temp"

Cache is spelled wrong...

R

  • Author

rdalling

Thank you! It works.

Will try with Ram-disk.

Regards,

Oleg II

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.