Re: Run command arguments
- From: "McKirahan" <News@xxxxxxxxxxxxx>
- Date: Wed, 11 May 2005 23:45:54 -0500
"KAREN27" <KAREN27@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:12C3F066-3208-475F-BAEC-3F6BF04C4F5A@xxxxxxxxxxxxxxxx
> Hi all,
>
> I' m using this code below so a particular user can change their screen
> saver settings easily.
>
> <job id="12345-WSH Script">
>
> <script language="JScript">
>
> var WshObj;
> WshObj = WScript.CreateObject("WScript.Shell");
> WshObj.Run("RunDll32.exe desk.cpl, InstallScreenSaver", 1, 1);
> </script>
>
> </job>
>
> All of this works OK, although I'm trying to determine what the argument
"1,
> 1" on the end do.
>
> Also, what other numbers can I apply instead of these numbers, and what
then
> will they do that's different?
>
> Thanks very much for your help
> Karen
Run Method
Description: Creates a new process that executes strCommand.
Syntax: object.Run (strCommand, [intWindowStyle], [bWaitOnReturn])
Download the WSH documentation:
http://msdn.microsoft.com/scripting/
.
- References:
- Run command arguments
- From: KAREN27
- Run command arguments
- Prev by Date: Run command arguments
- Next by Date: Hiding Drives
- Previous by thread: Run command arguments
- Next by thread: Hiding Drives
- Index(es):
Relevant Pages
|