Computing.Net > Forums > Programming > Hide/Unhide Program via Script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Hide/Unhide Program via Script

Reply to Message Icon

Name: keridbey
Date: August 18, 2008 at 08:31:36 Pacific
OS: Win2000
CPU/Ram: 1.8 Ghz / 1 Gb
Product: Dell
Comment:

I found a script that will run a program but not display a window (I'm trying to learn VBS):

Set objShell = CreateObject("WScript.Shell")
strCommand = "cmd.exe"
objShell.Run strCommand, 0

I'm trying to find a way to unhide that program after a specified time (I'm looking to run Performance Monitor on a client PC without the user being able to close the window or stop the monitoring). Ideally, unhiding the program by manually creating a zero-byte flag file in a specified directory would be great, but any method would be welcome.



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: August 18, 2008 at 17:41:16 Pacific
Reply:

I don't think you can. At least not with what Windows gives you.


0

Response Number 2
Name: keridbey
Date: August 19, 2008 at 12:22:06 Pacific
Reply:

Ah, well. Thanks anyways!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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


Sponsored links

Ads by Google


Results for: Hide/Unhide Program via Script

Writing a program or script? www.computing.net/answers/programming/writing-a-program-or-script/10815.html

Programming VS Scripting www.computing.net/answers/programming/programming-vs-scripting/5262.html

.bat program to copy recursively www.computing.net/answers/programming/bat-program-to-copy-recursively/15545.html