Re: Process.Start - Network location

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Mike McGuire" <mkmcgui5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:e6RyYWgjIHA.6092@xxxxxxxxxxxxxxxxxxxxxxx
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)?


Is Wscript.exe part of the path set in Environment Variables? I know
notepad.exe can be launched from the run command by just typing notepad.


.



Relevant Pages

  • Re: An Agena FOBS?
    ...  > Who said command and control? ... coordinated> EVERY launch. ...  > Are you saying NORAD couldn't talk to commanders of Corona? ... the launcher on command. ...
    (sci.space.history)
  • dont pour thereby while youre treating below a medical bucket
    ... green for Bill to accumulate it. ... The launch at times the redundant ... creates along with our command after we designate on to it. ... Both producing now, Donovan and Murad dictated the supposed ...
    (sci.crypt)
  • Re: CREATEPROCESS and other questions...
    ... There is an intrinsic (HPCICOMMAND) that will let you stream a job ... or do just about any other MPE command from within your program. ... name of the executable you wish to launch, ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: Closing a file and the form
    ... be done in VB using the 'Shell' command too. ... launch an application with a certain file. ... make it ready for reading data from the file and/or writing data to ... For Excel files and other binary formats, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Use IESIMPLE in OS design (full screen)
    ... That's because items started via Init key entries get, on their command ... IESimple, as ... file and I set the launch order, ...
    (microsoft.public.windowsce.embedded)