Solved

Windows CTRL  + ALT shortcuts

Posted on 2015-02-17
5
105 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 68

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now