A Shortcut to Nowhere

Dragon Drop

Member
Member
Messages
347
In the course of experimenting with shortcuts and pinning and such, I
stumbled on a bizarre quirk of Windows 8. Find a program –– NOT a shortcut,
but an ACTUAL "exe" file –– such as Notepad.exe, which is in the
"C:\Windows" folder. Copy the actual "exe" file itself into your "My Documents"
folder. Then right–click it there, and select "Send To" followed by
"Desktop (Create Shortcut)."

Warning: Don't try RUNNING Notepad that way; apps are supposed
to run from their own folder locations only.

Now delete the copy of Notepad from My Documents. Naturally, the shortcut
on your Desktop will then do nothing, since it now points to a nonexistent
object. If you double–click it, or try to pin it, you get an error pop–up.

But if you right–click it and select "Properties," something weird happens.
Instead of telling you that the shortcut's target is missing, the system GIVES it
a target by creating a NEW file called "Notepad.exe" in My Documents. And it's
just an EMPTY exe file –– if you then look at ITS Properties, you find that its
length is 0 bytes! So now, both that AND the shortcut will do nothing.

And yet, ironically, this non–shortcut can then be pinned to the Start Screen
and Taskbar –– because, technically, any exe file is a program!
 

My Computer

System One

  • OS
    64-bit Windows 8
    System Manufacturer/Model
    HP 23-D030
Yup, broke. Just tried it in XP and got an error message when I clicked OK from the Properties dialog. Don't know if this also happens in Vista or Windows 7 too.
 

My Computer

System One

  • OS
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz
    Motherboard
    Lenovo
    Memory
    16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
    Graphics Card(s)
    Intel Integrated HD Graphics
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    HP h2207
    Screen Resolution
    1680x1050@59Hz
    Hard Drives
    250GB Samsung EVO SATA-3 SSD;
    2TB Seagate ST2000DM001 SATA-2;
    1.5TB Seagate ST3150041AS SATA
    PSU
    500W
    Keyboard
    Wired USB
    Mouse
    Wired USB
    Internet Speed
    3GB Up, 30GB Down
    Browser
    SeaMonkey
    Antivirus
    Windows Defender; MBAM Pro
    Other Info
    UEFI/GPT
    PLDS DVD-RW DH16AERSH
LOL, you must have too much time on your hand for such 'advanced' experiments.
 

My Computer

System One

  • OS
    Vista and Win7
    System Manufacturer/Model
    2xHP, 2xGateway, 1xDell, 1xSony
    Hard Drives
    5 SSDs and 12 HDs
What I was doing, actually, is continuing to look for methods of getting direct
shortcuts to data files on the Taskbar, as I described in my post about a week ago.
It involves getting a "pinnable" shortcut first, and then changing its target
address after it's pinned. I was using shortcuts to existing Desktop apps,
or shortcuts to CLSID's. But those involve the danger of accidentally launching
something when you didn't mean to. That problem can be eliminated by
using a "shortcut to nowhere" as your "Pinner."

In fact, last night after discovering this "empty file" quirk, I got an
idea and tried it. Just launch Notepad (from the Metro Apps Screen) so it
opens an empty file; and then, without typing anything in it, do a "Save As."
Save it in "My Documents" and name it "Pinner.exe" so you're creating an
empty "exe" file yourself. Then right-click it and "Send To >
Desktop (Create Shortcut)." The resulting "Pinner -- Shortcut" can be used
in the same way as the other kinds of "Pinners" that I suggested last week.
 

My Computer

System One

  • OS
    64-bit Windows 8
    System Manufacturer/Model
    HP 23-D030
i have notepad pined to my taskbar, and thats how i access all my documents , just go to start right click for all apps and notpad will be there and just click it and pin to taskbar
for other apps like firefox and google earth and windows defender i just went to the programs folder in [my]Computer,and used drag and drop them to the taskbar
 
Last edited:

My Computer

System One

  • OS
    win8.1.1 enterprise
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Hinze57
    CPU
    AMD FX 6100 6core 3.30gHz
    Motherboard
    gigibyte ga-78lmy-s2p
    Memory
    4gig ddr3
    Graphics Card(s)
    Radon hd5000 Series
    Sound Card
    onboard realtek hd
    Monitor(s) Displays
    19" viewsonic/ 22"Samsung
    Screen Resolution
    1680x1050
    Hard Drives
    128gig ssd Kingston
    80gig WD 10000 rpm spinner
    Case
    micro
    Keyboard
    microsoft curve 200
    Mouse
    Logitech wireless M215
    Internet Speed
    high speed 20
    Browser
    ie 11
    Antivirus
    windows defender
    Other Info
    updated enterprise apr 2/14
i have notepad pined to my taskbar, and thats how i access all my documents , just go to start right click for all apps and notpad will be there and just click it and pin to taskbar
for other apps like firefox and google earth and windows defender i just went to the programs folder in [my]Computer,and used drag and drop them to the taskbar
Why don't you use Toolbars - it's so much easier and always accessible (works the same in Win8): Toolbars - How to Use in Windows 7 and Vista - Windows 7 Forums
 

My Computer

System One

  • OS
    Vista and Win7
    System Manufacturer/Model
    2xHP, 2xGateway, 1xDell, 1xSony
    Hard Drives
    5 SSDs and 12 HDs
i have notepad pined to my taskbar, and thats how i access all my documents , just go to start right click for all apps and notpad will be there and just click it and pin to taskbar
for other apps like firefox and google earth and windows defender i just went to the programs folder in [my]Computer,and used drag and drop them to the taskbar
Why don't you use Toolbars - it's so much easier and always accessible (works the same in Win8): Toolbars - How to Use in Windows 7 and Vista - Windows 7 Forums

don't know why ,i only use a few programs ,have on the taskbar and a folder on the desktop with short cuts to ones i use now and then
 

My Computer

System One

  • OS
    win8.1.1 enterprise
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Hinze57
    CPU
    AMD FX 6100 6core 3.30gHz
    Motherboard
    gigibyte ga-78lmy-s2p
    Memory
    4gig ddr3
    Graphics Card(s)
    Radon hd5000 Series
    Sound Card
    onboard realtek hd
    Monitor(s) Displays
    19" viewsonic/ 22"Samsung
    Screen Resolution
    1680x1050
    Hard Drives
    128gig ssd Kingston
    80gig WD 10000 rpm spinner
    Case
    micro
    Keyboard
    microsoft curve 200
    Mouse
    Logitech wireless M215
    Internet Speed
    high speed 20
    Browser
    ie 11
    Antivirus
    windows defender
    Other Info
    updated enterprise apr 2/14
Back
Top