Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Automatically write user name in my computer icon.  (Read 5985 times)

0 Members and 1 Guest are viewing this topic.

johnshell08

    Topic Starter


    Rookie

    Automatically write user name in my computer icon.
    « on: January 29, 2009, 11:47:07 PM »
    Dear Team,
                        suppose in my pc three user account is exist named 1,2 & 3.and i want when 1 user login then write user name 1 in my computer icon on desktop & so on.
    it is possible , i saw the same on a pc but i don't know how is it possible.
    so please tell me as soon as possible.

    Thanks................................. ..............

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: Automatically write user name in my computer icon.
    « Reply #1 on: January 30, 2009, 04:00:43 AM »
    So when you log on to a computer, the My Computer name changes?

    johnshell08

      Topic Starter


      Rookie

      Re: Automatically write user name in my computer icon.
      « Reply #2 on: January 30, 2009, 05:41:27 AM »
      this will be automatically not manually.

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: Automatically write user name in my computer icon.
      « Reply #3 on: January 30, 2009, 06:35:11 AM »
      I don't know how to do it.

      Is this your friend's computer you're talking about?

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Automatically write user name in my computer icon.
      « Reply #4 on: January 30, 2009, 12:39:50 PM »
      I  believe renaming the My computer icon in each account will store that name for each account, thus making the "My computer" icon have a different label within the separate accounts.
      I was trying to dereference Null Pointers before it was cool.

      mickster9



        Rookie

        Re: Automatically write user name in my computer icon.
        « Reply #5 on: January 30, 2009, 01:32:46 PM »
        That should work but if it didnt use a batch script on startup
        something like:  ren "my computer.lnk" %username%.lnk

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: Automatically write user name in my computer icon.
        « Reply #6 on: January 30, 2009, 03:08:23 PM »
        the "My computer" icon isn't  shortcut...
        I was trying to dereference Null Pointers before it was cool.

        mickster9



          Rookie

          Re: Automatically write user name in my computer icon.
          « Reply #7 on: January 30, 2009, 04:54:08 PM »
          He doesnt say what OS he is using.
          On my vista My Computer is a shortcut.

          Carbon Dudeoxide

          • Global Moderator

          • Mastermind
          • Thanked: 169
            • Yes
            • Yes
            • Yes
          • Certifications: List
          • Experience: Guru
          • OS: Mac OS
          Re: Automatically write user name in my computer icon.
          « Reply #8 on: January 30, 2009, 07:56:46 PM »
          He doesnt say what OS he is using.
          On my vista My Computer is a shortcut.
          Right Click the Desktop and go to Properties.
          Click on the Desktop tab and click Customize Desktop.
          Tick the box next to My Computer and press OK.

          mickster9



            Rookie

            Re: Automatically write user name in my computer icon.
            « Reply #9 on: January 31, 2009, 02:04:01 AM »
            ok that isnt how you do it in vista but i enabled the icon. what is the point of it anyway when it does the same as the shortcut except you can right-click and go to system on the contol panel?

            patio

            • Moderator


            • Genius
            • Maud' Dib
            • Thanked: 1769
              • Yes
            • Experience: Beginner
            • OS: Windows 7
            Re: Automatically write user name in my computer icon.
            « Reply #10 on: January 31, 2009, 06:57:13 AM »
            Meanwhile...
            " Anyone who goes to a psychiatrist should have his head examined. "

            BC_Programmer


              Mastermind
            • Typing is no substitute for thinking.
            • Thanked: 1140
              • Yes
              • Yes
              • BC-Programming.com
            • Certifications: List
            • Computer: Specs
            • Experience: Beginner
            • OS: Windows 11
            Re: Automatically write user name in my computer icon.
            « Reply #11 on: January 31, 2009, 08:58:32 AM »
            My Computer, Recycle Bin, Network neighborhood/My Network places, are not Shortcuts.

            They are Shell NameSpaces represented via icons. Shortcuts have a shortcut overlay beneath them. My computer only has that when it literally IS a shortcut, in which case it means the shortcut was created after the fact rather then the "official" method Carbon Dudeoxide has posted. the Vista method of doing the same thing is of course to right-click the desktop->Personalize, and select the "Change Desktop icons" task pane link.


            This will have the same effect as it does in XP or previous versions, which merely changes the default icons shown within the desktop shell namespace.


            Of course- you CAN create shortcuts TO these namespaces, but they act different then the actual namespace icon- for example, there is no LNK shortcut in the folder, which is the leading reason to deduce that it is not a shortcut- additionally, the properties context menu does not show the standard "File Properties" property page, but rather the same dialog present via the Windows key+Break combination.
            I was trying to dereference Null Pointers before it was cool.