[mailmsg.js]Wscript.Arguments
Status: Pre-Alpha
Brought to you by:
trey
In japanese Windows XP,temporary file was made in
C:\Documents and Settings\xxxxx\Local Settings\temp\aaz42.txt
So,
var objArgs = WScript.Arguments;
var tmpfilename = objArgs(0);
must be
var objArgs = WScript.Arguments;
var ary = new Array();
for(var i=0;i<objArgs.length;i++){
ary.push(objArgs(i));
}
var tmpfilename = ary.join(" ");
or,cscript must call mailmsg.js with arguments wrapped by double quotes.