The How-To Geek Forums Have Migrated to Discourse


How-To Geek Forums / Windows 7

Simple VBS script

(3 posts)
  • Started 3 years ago by Guidez
  • Latest reply from Guidez
  • Topic Viewed 743 times

PARTNER SPOTLIGHT

Recommended: Clean Your PC the Easy Way with CleanMyPC

If you want to clean up your PC the easy way, CleanMyPC is a great tool to get the job done easily, and it will even keep your computer clean automatically.

Unlike the competition, it also includes great tools like a Clean Uninstaller, to get rid of applications and clean up the junk that they leave behind. All with the click of a button.

Download CleanMyPC for Free Today

Posted yesterday 
Top
Guidez
Posts: 47

I'm trying to make an extremely simple vbscript (NOT a batch file) that runs the following lines in a hidden elevated command prompt, then displays a success message.

cd "C:\Program Files (x86)\Microsoft LifeCam"
rename LcBuddy.exe LcBuddy.bak
mklink LcBuddy.exe "C:\Program Files (x86)\Skype\Phone\Skype.exe"

PS: I know strictly nothing about vbscript other than how to make a msgbox :).

Any help is appreciated

Posted 3 years ago
Top
 
GuiltySpark
Posts: 4024

Why would you want to run it hidden in an Elevated cmd ?

Posted 3 years ago
Top
 
Guidez
Posts: 47

Doesn't matter.

Posted 3 years ago
Top
 



Topic Closed

This topic has been closed to new replies.