Shop for All
|
Office 2007 Home and Student |
Compare the top 5 lowest prices by hovering your mouse over the product names on the left |
$94.24 |
|
Office 2007 Professional | $331.05 | |
|
Windows XP Professional w / SP2 | $234.70 | |
|
Office 2007 Small Business | $187.92 | |
|
Norton AntiVirus 2009 (Full Product) | $19.27 |
- vbs registry
- vbscript modify registry
- vbscript delete files
- vbs modify registry
- vbscript delete file
- vbscript delete
- vbscript registry
- write registry vbs
- how to delete files in folder using vbscript
- vbs change registry value
- vista remove hardware
- vbscript change registry value
- modify registry windows
- registry modify
- reset registry xp
Partners
The Games selection
crazy :
PC Breakdown
What is worst than a Fatal Error occuring during a game you did not save? Unleash your rage at your PC in this game. Blow it to pieces, it feels so...
|
action :
Line Rider Beta 2
The new version of Line Rider! With the pencil tool make a line from the left top to the right bottom. use the hand to move the line if needed and...
|
Sponsored links
How to Modify Windows Registry with VBS
Table of contents
- 1 – Introduction
- 2 – Two Visual Basic Scripts
- 3 – Example 2: Full Script To Remove The Arrow On Shortcuts

Editor's Note: Tom's Hardware is pretty heavily oriented toward, well, hardware. However, we thought you'd appreciate this valuable little voyage into Windows Visual Basic scripting (VBScript) and Windows Registry modification. Starting with this article, when we see something you might find interesting, whatever it may be, we'll let you know about it. Take it away Mr. Thomas.
I'm a sort of evangelist for VBScript. One of my goals here is to lure you into using this programming language. Even if you have no interest in VBScript, I'm going to show you how to do something that you may like: how to remove those annoying arrows on shortcuts. In addition to VBScript code, I'll provide instructions on how to accomplish the same task using simple Windows Registry .reg files.
Beware, the IsShortCut method works fine for XP and Windows Server 2003, but can produce ugly side-effects in Vista. Down the road a bit, I'll publish a separate Shell Icons script to remove the arrows from Vista shortcuts.
Thanks to the .reg files supplied, you don't actually have to study VBScript to get this job done. However, if you use or would like to use VBScript, the VBScript examples show how easy it is to create objects. In this instance the object and its .RegDelete method modify the Windows Registry. It almost goes without saying that in other scripts you can use different methods to automate any task that you can perform through a GUI.
Removing the arrows on shortcuts is a classic case of Microsoft having not one, but three ways of configuring a Registry setting; VBScript, a .reg file and of course regedit.
My VBScript method, which deletes the IsShortCut value, works for both XP and Vista machines. However beware, because in Vista, removing this Registry value causes problems with shortcuts in the Favorites folder.
If you just want to remove the arrows quickly, use the .reg file. If you are using my VBScript to remove the arrows, the .reg files provide a complimentary method for resetting the Registry before you run the script for a second time.
A hidden bonus of using a script to remove the shortcut arrows is that you learn about the full range of Registry commands: .RegWrite, .RegDelete and .RegRead.
