setenv command
Last updated on
The setenv
command sets the UltraDefrag specific environment variables according to the user preferences:
C:\Program Files\UltraDefrag>set UD_EX_FILTER
Environment variable UD_EX_FILTER not defined
C:\Program Files\UltraDefrag>setenv
C:\Program Files\UltraDefrag>set UD_EX_FILTER
UD_EX_FILTER=*system volume information*;*temp*;*tmp*;*recycle*;*dllcache*;*ServicePackFiles*;*Windows.old*;*.log;*\Windows\servicing\*
Environment variable UD_EX_FILTER not defined
C:\Program Files\UltraDefrag>setenv
C:\Program Files\UltraDefrag>set UD_EX_FILTER
UD_EX_FILTER=*system volume information*;*temp*;*tmp*;*recycle*;*dllcache*;*ServicePackFiles*;*Windows.old*;*.log;*\Windows\servicing\*
Please note, as the setenv
command is a batch script, you have to use the system call
command to call it from your batch scripts:
1 | call "%UD_INSTALL_DIR%\setenv.cmd" |