Solved

Windows CTRL  + ALT shortcuts

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to install Windows Server tools on Windows 7 Enterprise. 9 47
Windows Updates question 2 30
set url:tel to a website 3 47
Outlook creates tmp files 2 43
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
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 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.

770 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