JSI Tip 9950. How can I cause Windows to display the '%ComputerName% %UserName% %UserDomain%' when I hover the cursor over the My Computer icon?

Using REG.EXE, built into Windows XP, Windows Server 2003, and later, or installed on Windows 2000 from the Support Tools folder of of the Windows 2000 CD-ROM, I have scripted MyComputerInfoTip.bat to display %ComputerName% %UserName% %UserDomain% when the cursor hovers over the desktop My Computer icon.

The syntax for using MyComputerInfoTip.bat is:

MyComputerInfoTip

MyComputerInfoTip.bat contains:

@echo off
@echo reg add HKLM\SOFTWARE\Classes\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D\} /V InfoTip /T REG_EXPAND_SZ /F /D " %%ComputerName%% %%UserName%% %%UserDomain%%"
reg add HKLM\SOFTWARE\Classes\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D\} /V InfoTip /T REG_EXPAND_SZ /F /D " %%ComputerName%% %%UserName%% %%UserDomain%%"
reg query HKLM\SOFTWARE\Classes\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D\} /V InfoTip



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish