• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1737
  • Last Modified:

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

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
ThinkPaper
Asked:
ThinkPaper
  • 5
  • 2
1 Solution
 
sirbountyCommented:
Dim objShell: Set objShell=CreateObject("Wscript.Shell")
objShell.Popup "This message will disappear in 5 seconds", 5
0
 
sirbountyCommented:
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
 
sirbountyCommented:
So,
objShell.Popup ComputerName & " is done!", 5

should display a 5 second message...
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
ThinkPaperIT ConsultantAuthor Commented:
Ah sweet! I was trying to google for it but didn't even know what to google for. Thanks!
0
 
sirbountyCommented:
Happy to help - thanx! :^)
0
 
ThinkPaperIT ConsultantAuthor Commented:
One thing.. I guess there is no way to hide the OK button, huh?
0
 
sirbountyCommented:
Sorry, no - I don't believe so...
0
 
PberSolutions ArchitectCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now