Scripted Environment Variables

NovaBackX is able to use Windows environment variables in the script file.  Though in order to use these variables you will have to manually edit the script file.  User set environment variables are not available for use, just the default Windows environment variables.  Below is an example of a script excerpt using these environment variables, please notice that you have to define the variables that you want to use at the bottom of the script.

Example portion of a script file:

( . . . )

[select]

path.item.0=+$Env Variable.item.0$

path.numberOfItems=1

( . . . )

[device]

SessionLogicalId=0

SessionName=My Backup

SessionId=0000000000000000000000000000000000000000

MediaLogicalId=0

MediaExtension=nbd

MediaName=My Media

MediaId=0000000000000000000000000000000000000000

DeviceUnit=\\Server\HomeDrive\$Env Variable.item.1$

DeviceName=Network

DeviceId=0900dcfe0b0000f0a98187492b78000002000000

DeviceClassId=ntwk://

( . . . )

 [Environment variable]

Env Variable.item.0=%USERPROFILE%   

Env Variable.item.1=%USERNAME%

Env Variable.numberOfItems=2