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.

Anyone got SETENV.EXE ?

Featured Replies

Hey guys, anyone got SETENV.EXE? I search everywhere on the net and all the webpages give me this access

ftp://barnyard.syr.edu/pub/vefatica/setenv.exe

Unfortunately this website is down and there is no more link, can anyone post a link to this file? Thanks!

  • Author

I realise that this SetEnv.exe does not update the changes immedately although the net say it does so. What i have done is:

1) Write a batch file maybe AddPath.bat which has the following content

D:\Setenv.exe -m path C:\TestDir

2) Add the batch file into RunOnceEx entry.

3) Log off and back on to allow RunOnceEx to execute (I understand there is a rundll32 method)

4) I confirm that the batch file is run (use pause to check)

However, when i was in windows and i went to CMD.EXE and type PATH, the path content is still the previous value! I check the registry and environment variables in Control Panel->System->Advanced->Environments Variables and they have been updated but the command window have not. Why is it so?

I need the system to understand that PATH have been updated else my other applications in the batch file during RunOnceEx will fails... Is there any method? Please Help, Thanks!

I put setenv.exe into the $oem$\$$\system32 folder to make sure it is reachable. Then I started a set_var.cmd file containing some changes on variables:

md %systemdrive%\temp
setenv -d tmp "%systemdrive%\temp"
setenv -d temp "%systemdrive%\temp"
setenv -m tmp "%systemdrive%\temp"
setenv -m temp "%systemdrive%\temp"

This batch is called by cmdlines.txt during setup.

As I understood, the system variables you see within the system properties are not equal to the variables you get in command line with "SET". E.G. if you add a user variable "test" in the system properties\environment variables dialogue you won't see it at the command line.

Maybe somebody knows how the two variable types belong together?

  • 10 months later...

they seem to reside here in registry [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]

For modifying the PATH variable, I use pathman

I used to go the setenv/setx way before, but for that variable, I always had issues. pathman fixes them all.

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.