Message Popup .bat? - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 04-14-2005, 09:02 AM   #1 (permalink)
True Techie
 
Join Date: Feb 2004
Posts: 195
Question Message Popup .bat?

To the parties that have been assisting me with Group Policy over the past month, including Inaris: Thank you!

I finally have hold over Group Policy and I'm beginning to implement/test it in a working environment. However, I have one last question that might have something to do with creating batch files, of which I know little.

Group Policy has "Interactive Logon" that I can set locally to do this sort of thing, but my University-- upon logging into the computer system, runs a series of message popups (presumably through .bat files) that remind you that you are subject to being monitored, that your printer is installed, etc.

Just wondering, how can I do something like that?
__________________

__________________
*\'Failure\' is not a four-letter word.
star_topology is offline  
Old 04-14-2005, 12:39 PM   #2 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

ive setup vbs files that accomplish the same thing. inside a .bat I first copy over a timesheet created in excel. then it calls timesheet.vbs with this command 'start timesheet.vbs'. this shows a popup box stating a new timesheet has been created. The title header is set as notification.

timesheet.vbs

msgbox "A new timesheet has been created.", 0, "Notification"
__________________

office politics is offline  
Old 04-14-2005, 01:02 PM   #3 (permalink)
True Techie
 
Join Date: Feb 2004
Posts: 195
Default

Sounds like something I could use.

However, considering I'm not a programmer, I have no clue what to do with anything involving Visual Basic.

Can you dumb it down a bit, perhaps only by using a .bat file?
__________________
*\'Failure\' is not a four-letter word.
star_topology is offline  
Old 04-14-2005, 03:07 PM   #4 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

copy the msgbox line and enter it into notepad, save it as filename.vbs. Typically, windows installations have WSH (win shell host?) running which is used to run the script.

you could use the echo command to output a message and then follow it with a @pause command. this will display a message and then wait for the user to press a key.
office politics is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:52 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.