Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Wscript/VBScript - how to write an "echo" that disappears after a while (no OK or Confirm button) like a progress bar

Posted on 2007-04-05
8
Medium Priority
?
1,722 Views
Last Modified: 2013-11-25
Hey experts -
Quick question. I created a windows script to run across a bunch of computers on the network and delete symantec. The status of everything is stored in a log file. Everything seems to work great, the only problem is when I run it, I have no idea what the progress is. Nothing is shown on the desktop or in command prompt. It's all being done in the background. I'd like to create either a quick pop up that displays computer name that goes away by itself once it's done.

Right now I've been using Wscript.Echo "Computername is being scanned"
But I don't want to have to click OK or Confirm or whatever whenver it comes up. I just want it gone when it's done. Is there some kind of command equivalent to this? Hope my question is clear
~ thanks
0
Comment
Question by:ThinkPaper
  • 5
  • 2
8 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 1000 total points
ID: 18857643
Dim objShell: Set objShell=CreateObject("Wscript.Shell")
objShell.Popup "This message will disappear in 5 seconds", 5
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18857653
Or, if I've misunderstood, let me know...
This would show the computer name...if you don't have that

Dim objNet:Set objNet=CreateObject("Wscript.Network")
ComputerName=objNet.ComputerName
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18857655
So,
objShell.Popup ComputerName & " is done!", 5

should display a 5 second message...
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 16

Author Comment

by:ThinkPaper
ID: 18857694
Ah sweet! I was trying to google for it but didn't even know what to google for. Thanks!
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18857711
Happy to help - thanx! :^)
0
 
LVL 16

Author Comment

by:ThinkPaper
ID: 18857716
One thing.. I guess there is no way to hide the OK button, huh?
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18860565
Sorry, no - I don't believe so...
0
 
LVL 26

Expert Comment

by:Pber
ID: 18860619
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question