Showing results for desktop management - Scripting Blog [archived]

Feb 9, 2005
0
0

How Can I Change the Target of a Desktop Shortcut?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I change the target that a desktop shortcut points to? For example, if I move a file from one server to another, I’d like be able to use a script to change the shortcut that points to that file.-- AK Hey, AK. This is an example of a scripting problem that’s actually pretty easy to solve, provided you know where to loo...

Scripting Guy!VBScriptdesktop management
Jan 19, 2005
0
0

How Can I Change the Caption for the My Computer Icon?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Instead of having the My Computer icon on the desktop read My Computer, I’d like to replace that with the name of the computer. Can I do that using a script?-- TG Hey, TG. We get asked this question quite a bit; apparently a lot of you find it convenient to have the computer name right on the desktop, making it easier for use...

Scripting Guy!VBScriptdesktop management
Dec 8, 2004
0
0

How Can I Determine the Executable File Corresponding to a Shortcut?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine the executable file name corresponding to a .lnk shortcut file?-- AM Hey, DE. We’re glad you asked this question; unlike some questions we get (like, “How do I use a script to disable File and Print Sharing on my Windows 2000 computers?”), this happens to be one we have an answer for. As it turns out, ther...

Scripting Guy!VBScriptdesktop management
Nov 15, 2004
0
0

Can I Lock a Workstation Using a Script?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I know how I can shut down a computer using a script, and I even know how I can log a user off using a script. But is there any way I can lock a workstation using a script?-- TO-R Hey, TO-R. Most likely you’re familiar with the Win32Shutdown method found in the WMI class Win32_OperatingSystem; that method allows you to shutdo...

Scripting Guy!VBScriptdesktop management
Nov 11, 2004
0
0

Can I Pin a File to the Start Menu by Using a Script?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Can I pin a file to the Start Menu by using a script?-- ZD Hey, ZD. For those of you who haven’t bought Windows XP yet (hey, what’s the matter with you; we Scripting Guys have families to feed!), by default XP’s Start Menu changes over time: the more you use an application, the more likely it is to appear on the Start Menu. T...

Scripting Guy!VBScriptdesktop management