M
Mike McGuire
Hi,
I am trying to launch a vb script from the network using Process.Start.
(VB .NET 2005)
Here's the line I'm using:
Process.Start("Wscript.exe",VBSFile,User,Pword,Domain)
"Wscript.exe" - Is the command
VBSFile - Is the Argument
User - Is the UserName
Pword - is the password
Domain - is the domain
The VBSFile resides on a server and the properties of the variable look like
\\server\share\folder1\folder2\script.vbs.
This line works perfectly when I launch notepad.exe:
Process.Start("Notepad.exe",User,Pword,Domain)
So I know that the varibles for the user, password, and domain are all
correct.
Is there a way to launch something on a server share by using Process.Start
(or something similar)?
I am trying to launch a vb script from the network using Process.Start.
(VB .NET 2005)
Here's the line I'm using:
Process.Start("Wscript.exe",VBSFile,User,Pword,Domain)
"Wscript.exe" - Is the command
VBSFile - Is the Argument
User - Is the UserName
Pword - is the password
Domain - is the domain
The VBSFile resides on a server and the properties of the variable look like
\\server\share\folder1\folder2\script.vbs.
This line works perfectly when I launch notepad.exe:
Process.Start("Notepad.exe",User,Pword,Domain)
So I know that the varibles for the user, password, and domain are all
correct.
Is there a way to launch something on a server share by using Process.Start
(or something similar)?