Batch commands are excuted after download and installation (copy) of an item in the stup list.
The user can edit this batch command sequence.
The following shell paths may be used instead of absolute folder locations:
- [Program Files] - this is usually C:\Program Files
- [My Documents] - My Documents folder
- [Programs] - Start Menu >> Programs folder
- [Desktop] - the current Desktop
- [StartMenu] - directly inside the Start Menu
- [Windows] - this is usually C:\Windows
- [AppDir] - eXT Folder set by user, base-folder where the energyXT host, eXTsetup, CHM and PDF files are installed
- [VstDir] - VST Folder set by user, base-folder where the energyXT VSTs (and preferably all other VST-plugins) are installed
- [DwnDir] - Download Folder set by user, base-folder where all items in the “Setup List” will be downloaded
- [IcnDir] - Prgm Icons Folder set by user, base-folder for the energyXT Program Icons (shortcuts)
- [InsDir] - Install Path set by user, folder where a downloaded item of the “Setup List” will be finally installed
Syntax:
- command
- command param1
- command param1 param2
- command param1 param2 param3
Note: Double quotes are ONLY used if the 1st or 2nd parameter contains a space character
regext regPath .ext=description filePath
registers “filePath” with “description” with extension “.ext” in section “regPath” of the Windows system registry
example 1
regext eXT.EXT_file\shell\open\command ".ext=energyXT project file" "[InsDir]\standalone.exe" "%1"
registers “C:\Program Files\energyXT\standalone.exe” with description ”energyXT project file” with extension “.ext” in the section “eXT.EXT_file\shell\open\command” of the Windows system registry
example 2
regext eXT.EXT_file\DefaultIcon .ext "[InsDir]\ext-icon.icn"
registers “C:\Program Files\energyXT\ext-icon.icn” with extension “.ext” in section “eXT.EXT_file\DefaultIcon” of the Windows system registry
wsetini iniFile [iniSection] iniItem=iniValue
writes “iniItem=iniValue” in the section “[iniSection]” of the "WindowsDir\iniFile" file
example
wsetini energyXT.ini [Folders] Main=[InsDir]\projects\
writes “Main=[InsDir]\projects\” in the section “[Folders]” of the "C:\Windows\energyXT.ini" file
aicon fromFile toPath\linkName iconPath
generates a shortcut to "InstallPath\fromFile" in the folder defined by “Icons Folder” and names it "linkName", also as an optional 3rd parameter the “iconPath” will be set
“iconPath” will be set (the 3rd parameter is optional)
example 1
aicon standalone.exe "[Programs]\energyXT\energyXT SA"
generates a shortcut to "C:\Program Files\energyXT\standalone.exe" in the “Start Menu\Programs\energyXT” folder and names it "energyXT SA"
example 2
aicon standalone.exe "[Programs]\energyXT\energyXT SA" "[AppDir]\ext.ico"
generates a shortcut to "C:\Program Files\energyXT\standalone.exe" in the “Start Menu\Programs\energyXT” folder and names it "energyXT SA", also set icon of the shortcut to "C:\Program Files\energyXT\ext.ico"
example 3
aicon "eXT KvR.chm" "[Desktop]\Commands Guide"
generates a shortcut to "C:\Program Files\energyXT\Help\eXT KvR.chm" on the Desktop and names it "Commands Guide"
iicon fromFile linkName
generates a shortcut to "InstallPath\fromFile" in the folder defined by “Icons Folder” and names it "linkName", also as an optional 3rd parameter the “iconPath” will be set
example 1
iicon standalone.exe "energyXT SA"
generates a shortcut to "C:\Program Files\energyXT\standalone.exe" in the folder defined by “Icons Folder” and names it "energyXT SA"
example 2
iicon standalone.exe "energyXT SA" "[AppDir]\ext.ico"
generates a shortcut to "C:\Program Files\energyXT\standalone.exe" in the folder defined by “Icons Folder” and names it "energyXT SA", also set icon of the shortcut to "C:\Program Files\energyXT\ext.ico"
example 3
iicon "eXT KvR.chm" "Commands Guide"
generates a shortcut to "C:\Program Files\energyXT\Help\eXT KvR.chm" in the folder defined by “Icons Folder” and names it "Commands Guide"
copy fromFile toFile
copies "fromFile" to "toFile", both files must have full path names
example
copy "C:\Program Files\Vst\energyXT.dll" C:\Program Files\Vst\eXTi-4o.dll
copies "C:\Program Files\Vst\energyXT.dll" to "C:\Program Files\Vst\eXTi-4o.dll"
dcopy-dt
copies "DownloadPath\DownloadFile" to "DownloadPath\DownloadFile DownloadFile-Date"
example
dcopy-dt
copies "C:\Downloads\energyXT\sa.zip" to "C:\Downloads\energyXT\sa.zip 2004-10-24"
icopy-dt fromFile
copies "InstallPath\fromFile" to "InstallPath\fromFile fromFile-Date"
example
icopy-dt standalone.exe
copies "C:\energyXT\standalone.exe" to "C:\energyXT\standalone.exe 2004-10-24"
icopy fromFile toFile
copies "InstallPath\fromFile" to "InstallPath\toFile"
example 1
icopy energyXT.dll eXTi-8o.dll
copies "C:\Program Files\Vst\energyXT\energyXT.dll" to "C:\Program Files\Vst\energyXT\eXTi-8o.dll"
example 2
icopy energyXTE.dll eXTe-3i5o.dll
copies "C:\Program Files\Vst\energyXT\energyXTE.dll" to "C:\Program Files\Vst\energyXT\eXTe-3i5o.dll"
dwcopy fromFile toFile
copies "DownloadPath\fromFile" to "WindowsDir\toFile"
example
dwcopy energyXT.ini
copies "C:\Downloads\energyXT.ini" to "C:\Windows\energyXT.ini"
<wrfile toFile
line-1
.
.
line-n
>
writes maximum 100 lines to the text file "toFile", this file must have a full path name
example 1
<wrfile C:\Windows\eXTi-2i4o.ini
[VST]
enable=1
inputs=4
outputs=8
>
writes 4 lines "[VST]", "enable=1", "inputs=4" and "outputs=8" to the file "C:\Windows\eXTi-4i4o.ini"
example 2
<wrfile C:\Windows\eXTe-3i5o.ini
[VST]
enable=1
inputs=6
outputs=10
>
writes 4 lines "[VST]", "enable=1", "inputs=6" and "outputs=10" to the file "C:\Windows\eXTe-3i5o.ini"
<wwrfile toFile
line-1
.
.
line-n
>
writes maximum 100 lines to the text file "WindowsDir\toFile"
example
<wwrfile eXTi-8o.ini
[VST]
enable=1
outputs=16
>
writes 3 lines "[VST]", "enable=1" and "outputs=16" to the file "C:\Windows\eXTi-8o.ini"
<iwrfile toFile
line-1
.
.
line-n
>
writes maximum 100 lines to the text file "InstallPath\toFile"
example
<iwrfile eXTi-4o.ini
[VST]
enable=1
outputs=8
>
writes 3 lines "[VST]", "enable=1" and "outputs=8" to the file "C:\Program Files\Vst\energyXT\eXTi-4o.ini"