Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


vbs + batch

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,62183
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> vbs + batch
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 vbs + batch - 7/7/2008 5:55:25 AM   
  jat421

 

Posts: 2
Score: 0
Joined: 6/23/2008
Status: offline
Hi,

I have a batch file that backup users my doc. But I wanted to run it as hidden so the user can't close it. I have found a VB script that doest that, but I don't know where in the vb script I have to put my batch file. Please help me with this. Here is the code.

VBS CODE

      

BATCH FILE

      

Thanks a lot for your help!

< Message edited by jat421 -- 7/7/2008 6:22:01 AM >
 
 
Post #: 1
 
 RE: vbs + batch - 7/7/2008 6:50:39 AM   
  ebgreen


Posts: 4951
Score: 31
Joined: 7/12/2005
Status: online
I think you have found an example that is more complicated than you need. Search the forum for .Run

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to jat421)
 
 
Post #: 2
 
 RE: vbs + batch - 7/8/2008 12:09:49 AM   
  jat421

 

Posts: 2
Score: 0
Joined: 6/23/2008
Status: offline
I actually got it working with the script I posted above. Thanks anyways!.

(in reply to ebgreen)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> vbs + batch Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts