![]() |
Translate .bat to VBScript |
Post Reply
|
| Author | |
Tonyz
Newbie
Joined: 10 December 2006 Location: France Online Status: Offline Posts: 1 |
Post Options
Quote Reply
Topic: Translate .bat to VBScriptPosted: 10 December 2006 at 12:33pm |
|
set WshShell = Wscript.CreateObject("Wscript.Shell") WshShell.run ""\\131.62.80.10\HelpDesk\Scripts\BGInfo\BGInfo Server\BGInfo.exe" "\\131.62.80.10\HelpDesk\Scripts\BGInfo\BgInfo Server\Server.bgi" /SILENT /NOLICPROMPT /timer:0",2,true
|
|
![]() |
|
Timothy.Malloy
Newbie
Joined: 27 November 2006 Online Status: Offline Posts: 2 |
Post Options
Quote Reply
Posted: 06 December 2006 at 3:25pm |
|
Will someone please be so kind as to help me translate a .bat to vbscript? I can't seem to do it despite my best attempts. Here's the .bat:
@echo off "\\131.62.80.10\HelpDesk\Scripts\BGInfo\BGInfo Server\BGInfo.exe" "\\131.62.80.10\HelpDesk\Scripts\BGInfo\BgInfo Server\Server.bgi" /SILENT /NOLICPROMPT /timer:0 As you can see, I am trying to run the BGInfo app from a share. I don't want to copy the .bat to everyone's startup folder rather I would like to run the vbscript command from group policy logon script. Thanks for any help you can offer. Tim Edited by Timothy.Malloy - 06 December 2006 at 3:26pm |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |