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
1,704 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 250 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
changing harddisk on computer in corporate 10 67
Password manager for small company 3 32
Event ID 1054 Userenv 2 32
URGENT: Re-install Windows 10 using same license? 18 74
This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

789 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