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.

Help with temp directory reg edit

Featured Replies

Well, here goes...

I attempted to extract the envrionment variables from my existing registry to be used in my reg file for the unattended install. The problem I ran into is that for some reason, when my program installations started, they started crashing since the temp directory that they would use was altered by the edited registry.

The reason I am changing this is so that the temp files are all in the same folder and to lessen the amount of movement and wear on the hard drive. It actually speeds up the "windows envrionment" a little, enough to be noticeable at least.

If anyone is interested in helping I can post the code later, since I don't have it handy at the moment. I think that perhaps it may be due to permissions or accounts not having been populated yet. I am not sure.

Has anyone been successful in this?

Thanks in advance...

Rhondo :whistle:

Edited by Rhondo


I use this line in a batch file to set up my environment variables

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "Path" /t REG_EXPAND_SZ /d "%%SystemRoot%%\system32;%%SystemRoot%%;%%SystemRoot%%\System32\Wbem;%%ProgramFiles%%\Common Files\Ulead Systems\MPEG;%%ProgramFiles%%\Ulead Systems\Ulead DVD MovieFactory 3 SE;%%ProgramFiles%%\Nero\Nero 7\Core\nero.exe;" /f

I tried extracting a reg file and kept having problems. So I extracted it as

a text file so I could see what the contents actually was and write my own

reg file. But I couldn't figure out how to create a REG_EXPAND_SZ key in

a reg file so I ended up using REG.

Edited by jbm

  • Author

While I appreciate your response, I realized that I didn't mention specifically the fact that I want the User temp directory to be in the same place as the windows temp.

The problem that I am running into is that the user profile isn't completely set when the batch file runs. I really don't know when a proper time is to run the registry edit. Any Ideas?

Edited by Rhondo

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.