Computing.Net > Forums > Programming > Welcome Script

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Welcome Script

Reply to Message Icon

Original Message
Name: Klowns
Date: June 14, 2003 at 12:04:52 Pacific
Subject: Welcome Script
OS: Windows 2000 Pro
CPU/Ram: AMD 2500+ XP/256MB RAM
Comment:

I am wanting to write a batch file to load at start-up that will pop up with a window and say somthing ex. Welcome Master I believe i know how to make the file and load it for start up i just do not know the commands to write in it with my limited knowledge of Dos. Thank you!


Report Offensive Message For Removal


Response Number 1
Name: Dr. Nick
Date: June 17, 2003 at 21:20:47 Pacific
Reply: (edit)

One really easy way to do this is to make a script, and just have it run at startup. It requires no programming skill, just Notepad.

Make a new text file and name it whatever.VBS. Now put the following text in it:

^^^^^^^^^^^^^^^^^^^^^^^^^

Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")

WSHShell.Popup "This is a message"

^^^^^^^^^^^^^^^^^^^^^^^^^

That will pop up a box on startup with the text that's in quotation marks.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software