?
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,713 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
Configuring Remote Assistance for use with SCCM
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

777 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