Via efs I created a "ListSoundFiles.bat" file in the "\Formula Output" directory that creates a text file listing all the *.wav files in the "\Sounds" directory. It contains the following code:
.
But I can't get the "shell32.dll" to execute the *.bat file. I'm using the following unsuccessfully to attemp it:
When I run the code I get the following error:
This code runs fine as implemented in the efs found at: http://forum.esignalcentral.com/atta...=&postid=91494
Also, will there be a way to run a *.bat file in ver 11 since shell32.dll will not be supported due to security concerns.
Thanks,
Wayne
dir "c:\program files (x86)\esignal\sounds" /O:N /B > SoundFileList.txt
But I can't get the "shell32.dll" to execute the *.bat file. I'm using the following unsuccessfully to attemp it:
PHP Code:
var d = new DLL("shell32.dll");
function main(){
var Handle = 0;
var Operation = "open";
var FileName = "C:\\Program Files (x86)\\eSignal\\FormulaOutput\\ListSoundFiles.bat";
var Parameters = null;
var Directory = null;
var ShowCmd = 1;
d.call( "run", Handle, Operation, FileName, Parameters,Directory, ShowCmd );
}
PHP Code:
SyntaxCheck, line 10: Internal Error: DLL.call can not located(run)
Also, will there be a way to run a *.bat file in ver 11 since shell32.dll will not be supported due to security concerns.
Thanks,
Wayne
Comment