On Windows 7 I created a symbolic link to an executable using:  mklink Test.exe C:\Path\to\source.exe   But when I try to run it by double clicking on it, i get the "open with" dialog.  Running it from a command window works. The path is right.   Is there any way a symbolic link will be treated like the file it points to (e.g. executable or batch scripts)?
120752
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&gt;mklink SomeProgram.exe MyProgram.exe symbolic link created for Backup.exe &lt;&lt;===&gt;&gt; Backup-1.0.1.exe  C:\Temp&gt;SomeProgram.exe  C:\Temp&gt;del SomeProgram.exe  C:\Temp&gt;mklink SomeProgram.exe C:\Temp\MyProgram.exe symbolic link created for Backup.exe &lt;&lt;===&gt;&gt; C:\Temp\Backup-1.0.1.exe  C:\Temp&gt;SomeProgram.exe
61355
How can I grant a particular user the permission to create symlinks in Windows 7?  I've searched through "Group Policy" and Google, but haven't found anything.  On a side note, is there a way to search through everything in Group Policy Editor? The filters only seem to work on particular subtrees. I never actually found anything using the filters.
103236
In Windows 7, how can I check if a file is a symbolic link or not, if a folder is a junction or not, and how can I check where they are pointing at (in case they are symlink/junction). Both in Explorer and in Command line.  It's very important to have a way to do it from command line, in order to know how to duplicate symbolic links on another computer when you want to make an exact replica of a folder tree.  If I right click on a file and check "Properties", I can't find any indication that it's a symbolic link.
95379
Is there a shell command for outputing absolute path for specified program? I'd like to know where executable binary file is.
23837
My current preferred C++ environment is the free and largely excellent Microsoft Visual Studio 2005 Express edition. From time to time I have sent release .exe files to other people with pleasing results. However recently I made the disturbing discovery that the pleasing results were based on more luck that I would like. Attempting to run one of these programs on an old (2001 vintage, not scrupulously updated) XP box gave me nothing but a nasty "System cannot run x.exe" (or similar) message.  Some googling revealed that with this toolset, even specifying static linking results in a simple hello-world.exe actually relying on extra .dll files (msvcm80.dll etc.). An incredibly elaborate version scheming system (manifest files anyone?) then will not let the .exe run without exactly the right .dll versions. I don't want or need this stuff, I just want an old fashioned self contained .exe that does nothing but lowest common denominator Win32 operations and runs on any old win32 OS.  Does anyone know if its possible to do what I want to do with my existing toolset ?  Thank you.
13284
I tried which cd and it didn't give a path but instead returned the exit code 1 (checked with echo $?). The coreutil cd itself is working, so the executable should be there, right? I also ran a find for cd, but there was no executable file shown. How is it implemented then?  Update:  I don't know if I should ask this in another post but since I think it is good here, I'm expanding (?) the post... So the answer was actually quite simple, there's no executable for that — because it's a builtin — But I've found some builtins (bash shell in Fedora) have the executable files! So builtin -> no executable isn't right I suppose? Maybe an answer explaining what builtins actually are (builtin commands?), which actually is the matter here, rather than focusing more on cd... Some good links posted previously indicate that builtins are not programs... so what are they? How do they work? Are they just functions or threads of the shell?
123862
$ brew link binutils  Linking /usr/local/Cellar/binutils/2.24... Warning: Could not link binutils. Unlinking...  Error: Could not symlink file: /usr/local/Cellar/binutils/2.24/share/info/configure.info Target /usr/local/share/info/configure.info already exists. You may need to delete it. To force the link and overwrite all other conflicting files, do:   brew link --overwrite formula_name   As I see I can not link binutils because there is configure.info file in my filesystem.  I am just wondering if there is any way to know which of installed home-brew formulas had installed this file ?
40858
So let's say I have a symbolic link of a file in my home directory to another file on a different partition. How would I find the target location of the linked file? By this, I mean, let's say I have file2 in /home/user/; but it's a symbolic link to another file1. How would I find file1 without manually having to go through each partition/directory to find the file?
89466
Suppose I am running cmd and I open an application by typing for example start document.pdf  I want to get the exact path of the executable that opens .pdf files  Of course I could search the entire system for the executable but I suppose it would be faster this way because the path is already stored somewhere  I don't know if it makes a difference but I am using Windows 7
82419
I was trying to use mklink command in cmd (I have Windows 7 OS) I was logged on as administrator, but I got:  You do not have sufficient privilege to perform this operation.  I used the same command in Vista, it worked OK. Any ideas why it does not work in Windows 7?
6208
I'm trying to run an executable (testdisk) but double click doesn't work. The only way is to run:  sudo ./testdisk   from terminal. But I'd like to open executables with double click in future. How can I do this?
34080
Scenario:   Create SymLink: C:\Data\workspaces --&gt; C:\Users\****\Documents\workspaces Navigate to C:\Data\Workspaces in explorer Click and drag the the path from the address bar onto "Quick Access" in the navigation pane.   Expected Result:   Clicking on the shortcut takes you to C:\Data\workspaces   Actual Result:   Clicking on the shortcut takes you to C:\Users\****\Documents\workspaces   How do you make it so that the shortcut points to the correct path. (the SymLink)  Command Used to create the SymLink:  mklink /D C:\Data\workspaces C:\Users\****\Documents\workspaces   Updated with pictures:  Please note the workspaces symlink inside C:\Data:    When I double-click on the symlink it works correctly. (note the address bar.    When i pin it to the Quick access bar, however, it uses the address that the symlink points to and NOT the symlink address.
17382
I'm trying to run a exe file that is located on my Vista partition, when I browse to the file and try to change the file to run as executable the tick box unticks itself right after i tick it, i tried running gksu nautilus but it does the same thing
39539
I have upgraded from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS. I was surprised to see that the context menu entry "Make Link" (keyboard shortcut Ctrl+M) in Nautilus doesn't seem to exist anymore. It used to appear upon right mouse click on a file or folder and allowed the user to create a symbolic link.
94727
In earlier versions of Ubuntu (10.10-) there was an option in the "open with" tab in the properties window, to add a custom command to open a file. However, this is no longer the case in Ubuntu 11.10. Is there any way that I can add these file type associations with a command of my choice rather than the applications detected by the system.
71924
With the command:  ls -la *   I can list all my symbolic links.   How can I remove all symbolic links which are linked to a special folder?  For example:  In my directory usr/local/bin I have the following entries:  lrwxrwxrwx 1 root root 50 Apr 22 14:52 allneeded -&gt; /usr/local/texlive/2011/bin/x86_64-linux/allneeded lrwxrwxrwx 1 root root 47 Apr 22 14:52 amstex -&gt; /usr/local/texlive/2011/bin/x86_64-linux/amstex lrwxrwxrwx 1 root root 24 Apr 23 19:09 arara -&gt; /home/marco/.arara/arara   Now I want to remove all links with the path /usr/local/texlive/
52931
I created a shortcut via "make link" option. When I enter to this shortcut's folder I can't see any folders above it so I can't easily navigate to them.  Is there a way to go one folder up in the GUI? Maybe a hotkey? (Can't do cd .. this time ^__^ ).      In Windows for example I am indeed able to navigate in the way I describe, here is a Win10 image that explains it: