When trying to execute a symbolic link which points to an exe file (on Windows 7), the "Open with" windows appears. When renaming it to a ".exe" file, it says "The specified path does not exist. Check the path, and then try again.". Symlinks to other destinations seem to work fine.
So is there any way to execute a symlink?
EDIT: In the command prompt, I execute the following and the MyProgram.exe runs both times. However, if I double-click on the symbolic link in Windows Explorer it fails with the above error message.
C:\Temp>mklink SomeProgram.exe MyProgram.exe
symbolic link created for Backup.exe <<===>> Backup-1.0.1.exe
C:\Temp>SomeProgram.exe
C:\Temp>del SomeProgram.exe
C:\Temp>mklink SomeProgram.exe C:\Temp\MyProgram.exe
symbolic link created for Backup.exe <<===>> C:\Temp\Backup-1.0.1.exe
C:\Temp>SomeProgram.exe
ln -s ../../foo somedir/bar
and get the wrong thing. || Symlinks work exactly the same way in both *nix and Windows.