get Notepad icon on desktop


  1. Posts : 22
    win10 64bit
       #1

    get Notepad icon on desktop


    Win 10 22H2. I am currently running Notepad++ so I no longer have the original Notepad icon on desktop or in Toolbar. I can run Notepad if I click on the Window icon and list apps. But I would like to have the icon on my desktop/toolbar. Please advise. Thank You.
      My Computer


  2. Posts : 70,999
    64-bit Windows 11 Pro for Workstations
       #2

    Hello,

    You should be able to drag the Notepad app from Start Menu > All Apps list, and drop it on your desktop to have a shortcut created.
      My Computers


  3. Posts : 2,000
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #3

    You can do this easily with a short VBS script:
    Code:
    Set objShell = CreateObject("WScript.Shell")
    strDesktop = objShell.SpecialFolders("Desktop")
    Set objShortcut = objShell.CreateShortcut(strDesktop & "\Notepad.lnk")
    objShortcut.TargetPath = "%windir%\system32\notepad.exe"
    objShortcut.WorkingDirectory = "%windir%\system32"
    objShortcut.WindowStyle = 1
    objShortcut.IconLocation = "%windir%\system32\notepad.exe, 0"
    objShortcut.Save

    Copy/paste the code above into Notepad or Notepad++ and save it as something like Create_Notepad_shortcut_on_desktop.vbs. Note the file extension must be .VBS, not .TXT.

    Now, if you double-click on the Create_Notepad_shortcut_on_desktop.vbs file you have just created then it will create a shortcut to Notepad on your desktop.

    Hope this helps...
      My Computer


  4. Posts : 22
    win10 64bit
    Thread Starter
       #4

    RickC, thanks you so much. Worked perfectly and your instructions were accurate and so easy to follow.
      My Computer


  5. Posts : 151
    Windows 10 Pro 64-bit
       #5

    Another way is to go to: C:\Windows folder.
    Right click on 'Notepad' and click on 'Create shortcut'
    It will ask if you want the shortcut on the Desktop.
      My Computer


  6. Posts : 2,000
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #6

    davidhelp said:
    Another way is to go to: C:\Windows folder.
    Right click on 'Notepad' and click on 'Create shortcut'
    It will ask if you want the shortcut on the Desktop.
    Which, admittedly, is easier and more straightforward than what I suggested.

    It just so happened I had the code already from my 'new installs' routine so just substituted 'Notepad' for what I usually use it for.
      My Computer


  7. Posts : 22
    win10 64bit
    Thread Starter
       #7

    solved


    I can't remember how to submit this thread as 'solved'. Please advise. Thank you
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:29.
Find Us




Windows 10 Forums