Reputation: 31
I would like to open Sticky notes without having to navigate to the location. In my research, I found that in Windows 7, users were able to type 'stikynot' in the run prompt. What is the equivalent of the prior information for Windows 10?
I looked at these sites but it requires me to create a shortcut and I want to avoid that option:
https://www.tenforums.com/software-apps/57000-method-open-any-windows-10-apps-command-line.html
I was hoping something like this would work for Sticky Notes in the cmd:
start "" Calc.exe
start "" Notepad.exe
Upvotes: 0
Views: 7674
Reputation: 30258
Although your latter (TenForums) link seemingly guides to a shortcut creation, you can use the final command line in a batch file instead as a shortcut target.
I have written the following PowerShell script 57498059.ps1
to automatise their (a bit complicated) guide:
Import-Module -Name 'Appx'
$StickyNotesName = 'Microsoft.MicrosoftStickyNotes'
$StickyNotesPack = Get-AppxPackage -Name $StickyNotesName
$StickyNotesManifest = Join-Path -Path $StickyNotesPack.InstallLocation `
-ChildPath 'AppxManifest.xml'
$StickyNotesXml = New-Object Xml
$StickyNotesXml.Load("$StickyNotesManifest")
$StickyNotesExec = 'explorer.exe shell:appsFolder\' +
$StickyNotesPack.PackageFamilyName + '!' +
$StickyNotesXml.Package.Applications.Application.Id
"@$StickyNotesExec" | Out-File -Encoding ascii -FilePath ".\stikynot.bat"
# write `stikynot.bat` to a folder listed in Windows %path% variable
# you can type `stikynot` in the run prompt or `cmd` prompt then
"$StickyNotesExec" # return value: cmd command to launch Sticky Notes
Write-Host "$StickyNotesName - done" -ForegroundColor Cyan
<# check if it works #>
Invoke-Expression "$StickyNotesExec"
<##>
Result (and Sticky Notes
app runs on my Windows 10):
PS D:\PShell> .\SO\57498059.ps1
explorer.exe shell:appsFolder\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe!App Microsoft.MicrosoftStickyNotes - done
type .\stikynot.bat
@explorer.exe shell:appsFolder\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe!App
Upvotes: 1
Reputation: 2695
All you need is
explorer.exe shell:appsFolder\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe!App
The ID doesn't change.
Upvotes: 4
Reputation: 35
Due to a new Windows Update the old Sticky note is removed from Windows 10.
You can restore the old feature by downloading this zip File.(Contains the old program)
The zip file contains no viruses. (Proof)
Here are the simple steps to restore the program.
0.5. Open the zip file
Locate C:\Windows\System32
(Windows Key + r)
Copy and paste the StikyNot.exe
in System32
Locate to C:\Windows\System32\en-US
Copy the file and paste StikyNot.exe.mui
in C:\Windows\System32\en-US
Ta-da!
You can now use the file StikyNot.exe
using
start "" StikyNot.exe
in the .bat file
Regards, Erik
Upvotes: 0