Solved

Windows CTRL  + ALT shortcuts

Posted on 2015-02-17
5
115 Views
Last Modified: 2015-02-19
I'm referring to the custom shortcuts you can create to access programs as seen in the attached screenshot.

Two questions:

1. Is there a way to find the details all the shortcuts you have set up this way?
2. Is there a known reason the shortcuts stop working and require you recreate them?
Screenshot.JPG
0
Comment
Question by:K_Deutsch
5 Comments
 
LVL 2

Assisted Solution

by:Rossano Praderi
Rossano Praderi earned 200 total points
ID: 40615209
0
 
LVL 33

Accepted Solution

by:
it_saige earned 300 total points
ID: 40615236
You could also use PowerShell for this:
function Get-Shortcut { 
    $obj = New-Object -ComObject WScript.Shell 
    $pathUser = [System.Environment]::GetFolderPath('StartMenu') 
    $pathCommon = $obj.SpecialFolders.Item('AllUsersStartMenu') 
    dir $pathUser, $pathCommon -Filter *.lnk -Recurse | 
    ForEach-Object {  
        $link = $obj.CreateShortcut($_.FullName) 
        $info = @{} 
        $info.Hotkey = $link.Hotkey 
        $info.TargetPath = $link.TargetPath 
        $info.LinkPath = $link.FullName 
        $info.Arguments = $link.Arguments 
        $info.Target = try {Split-Path $info.TargetPath -Leaf } catch { 'n/a'} 
        $info.Link = try { Split-Path $info.LinkPath -Leaf } catch { 'n/a'} 
        $info.WindowStyle = $link.WindowStyle 
        $info.IconLocation = $link.IconLocation 
        New-Object PSObject -Property $info 
    } 
}

Open in new window

Source

-saige-
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40615284
Above is what I recall. Shortcuts are reliably used only in Start Menu, and there is no direct way to check which shortcuts are in use. You need to parse all Start Menu links for getting a list.
0
 

Author Comment

by:K_Deutsch
ID: 40619510
I dropped the code above into a text file and saved it with ps1 extension. when I run the script from powershell

PS C:\> c:\Shortcuts.ps1 (then enter)

I don't get any errors. Another PS C:\> prompt pops up.

What is supposed to actually happen? I guess I was expecting a pop up (or somethign) with the shortcut info.
0
 
LVL 33

Expert Comment

by:it_saige
ID: 40619617
Try doing this:Capture.JPGYou should then see an output similar to:Capture.JPG-saige-
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 7 - Problem Steps Recorder Missing sCreen shots??? 5 45
Autorun Remote Desktop - USB Stick 6 58
Delete Temp on all PCs 7 42
powershell event viewer 1 16
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question