Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows CTRL  + ALT shortcuts

Posted on 2015-02-17
5
Medium Priority
?
131 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 3

Assisted Solution

by:Rossano Praderi
Rossano Praderi earned 800 total points
ID: 40615209
0
 
LVL 35

Accepted Solution

by:
it_saige earned 1200 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 71

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 35

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

876 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