<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vbscript on Anything About IT</title><link>https://www.verboon.info/tags/vbscript/</link><description>Recent content in Vbscript on Anything About IT</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 09 Feb 2012 21:47:45 +0000</lastBuildDate><atom:link href="https://www.verboon.info/tags/vbscript/index.xml" rel="self" type="application/rss+xml"/><item><title>How to use vbscripts in BGINFO</title><link>https://www.verboon.info/2012/02/how-to-use-vbscripts-in-bginfo/</link><pubDate>Thu, 09 Feb 2012 21:47:45 +0000</pubDate><guid>https://www.verboon.info/2012/02/how-to-use-vbscripts-in-bginfo/</guid><description>&lt;p&gt;Out of the box &lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb897557"&gt;BGINFO&lt;/a&gt; includes a number of predefined fields that can be used to display information on the desktop such as Computer name, IP Address etc. But if the standard fields aren’t enough,BGINFO allows creating custom fields that can pull data from various sources like WMI, Registry, File content, Environment variables or VBScript.&lt;/p&gt;
&lt;p&gt;The below example shows how to embed VBSCRIPT code output in BGINFO. First we create a VBSCRIPT file called &lt;strong&gt;comp.vbs&lt;/strong&gt; that has the following content. (Credit for the script goes to &lt;a href="http://www.vsubhash.com/article.asp?MV-RFM-IE=on&amp;amp;id=96&amp;amp;info=Moral_Volcano%C3%A2%E2%82%AC%E2%84%A2s_VBScript_Add_Ons_for_Microsoft_BgInfo"&gt;Moral Volcano&lt;/a&gt;)&lt;/p&gt;</description></item></channel></rss>