Tanker
04-30-2003, 06:39 PM
Greetings.
I'm using the following code to start up certain applications on my machine rather than starting them manually. This works fine on my XP machine at home, but not on my NT box at work. Does anyone know of a way to get it to work on both boxes?
In the morning I have to bring up 5 web pages and 3 applications, I thought it would be nice to be able to start 1 web page locally that brought everything up for me and placed the browser windows where im used to them.
Thanks in advance.
fso = new ActiveXObject("Scripting.FileSystemObject");
function RunProgram(Program_Path) {
Default_Value = Program_Path.match(new RegExp("Default", "i"))
if (Default_Value) {} else {new ActiveXObject("WScript.Shell").Run(Program_Path,3,false)}
}
I'm using the following code to start up certain applications on my machine rather than starting them manually. This works fine on my XP machine at home, but not on my NT box at work. Does anyone know of a way to get it to work on both boxes?
In the morning I have to bring up 5 web pages and 3 applications, I thought it would be nice to be able to start 1 web page locally that brought everything up for me and placed the browser windows where im used to them.
Thanks in advance.
fso = new ActiveXObject("Scripting.FileSystemObject");
function RunProgram(Program_Path) {
Default_Value = Program_Path.match(new RegExp("Default", "i"))
if (Default_Value) {} else {new ActiveXObject("WScript.Shell").Run(Program_Path,3,false)}
}