Don,
On win7, I am able to create a symlink with this built in command:
D:\>mklink d:\P7310004.lnk.JPG d:\P7310004.JPG
symbolic link created for d:\P7310004.lnk.JPG <<===>> d:\P7310004.JPG
D:\>dir P73*
Volume in drive D is D
Volume Serial Number is 466B-310F
Directory of D:\
01/04/2011 16:24 1,364,017 P7310004.JPG
02/02/2012 09:06 <SYMLINK> P7310004.lnk.JPG [d:\P7310004.JPG]
2 File(s) 1,364,017 bytes
0 Dir(s) 36,199,112,704 bytes free
It did require that I run in an administrator-enabled cmd window.
I also tried creating a hard link:
D:\>mklink /H d:\P7310004.hlnk.JPG d:\P7310004.JPG
Hardlink created for d:\P7310004.hlnk.JPG <<===>> d:\P7310004.JPG
D:\>dir P73*
Volume in drive D is D
Volume Serial Number is 466B-310F
Directory of D:\
01/04/2011 16:24 1,364,017 P7310004.hlnk.JPG
01/04/2011 16:24 1,364,017 P7310004.JPG
02/02/2012 09:06 <SYMLINK> P7310004.lnk.JPG [d:\P7310004.JPG]
3 File(s) 2,728,034 bytes
0 Dir(s) 36,199,112,704 bytes free
I deleted both the symlink and the hard link file and the original was not
deleted.
On 2/2/2012 8:37, Don Guinn wrote:
> I am hesitant to install this as if I get it wrong it could wipe out my
> disk. I looked for ln.exe and found several sources, but I felt
> uncomfortable downloading them since I knew little about the sources. So,
> where did you get ln.exe? One source
> http://schinagl.priv.at/nt/ln/ln.html, said
> that required dlls are needed to be installed from Microsoft. Is that
> necessary?
>
> The documentation for this on the web is limited, probably better
> documentation if I downloaded. But I thought I would feel safer knowing
> where you got it. What happens when you delete a file that is linked? Are
> use counts maintained?
>
> 2012/2/2 Björn Helgason<[email protected]>
>
>> I found a perfect solution to this problem.
>>
>> There is a utility ln.exe that can make the file appear in temp even if it
>> continues to be in its original place and it does not take any extra space
>>
>>
>> C:\Users\bjorn\j701-user>ln c:\tmp\spil\101.png temp\101.png
>> ln 2.650
>> c:\tmp\spil\101.png
>> 1 file linked
>>
>> C:\Users\bjorn\j701-user>dir temp\*.png
>> Volume in drive C is ACER
>> Volume Serial Number is 6CE8-E433
>>
>> Directory of C:\Users\bjorn\j701-user\temp
>>
>> 21.01.2012 17:57 2.520 101.png
>> 1 File(s) 2.520 bytes
>> 0 Dir(s) 14.398.377.984 bytes free
>>
>>
>> C:\Users\bjorn\j701-user>ln
>> ln 2.650 (Recursivly) creates hardlinks for files within NTFS partitions
>> Usage. ln [options] file|dir|UNCname new_name|new_dir|UNCname
>>
>> Windows thinks it is in both spaces.
>>
>> I was using this to get rid of extra files in winsxs
>> Reclaimed more than 13 GB of space on the disk.
>> It also has the extra benefit of solving this problem for me.
>>
>>
>> 2012/1/22 Björn Helgason<[email protected]>
>>
>>> jhspng'~temp/113.png'
>>> jhspng'c:\tmp\spil\113.png'
>>>
>>> I have png playing cards
>>>
>>> When I have the cards in the folder c:\tmp\spil\ the card does not
>> display.
>>>
>>> When the same card is in ~temp/ it is fine
>>>
>>>
>>>
>>> --
>>> Björn Helgason, Verkfræðingur
>>> Fornustekkum II
>>> 781 Hornafirði,
>>> t-póst: [email protected]
>>> gsm: +3546985532
>>> twitter: @flugfiskur
>>> http://groups.google.com/group/J-Programming
>>>
>>>
>>> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
>>>
>>> góður kennari getur stigið á tær án þess að glansinn fari af skónum
>>> /|_ .-----------------------------------.
>>> ,' .\ / | Með léttri lund verður |
>>> ,--' _,' | Dagurinn í dag |
>>> / / | Enn betri en gærdagurinn |
>>> ( -. | `-----------------------------------'
>>> | ) | (\_ _/)
>>> (`-. '--.) (='.'=) ♖♘♗♕♔♙
>>> `. )----' (")_(") ☃☠
>>>
>>
>>
>>
>> --
>> Björn Helgason, Verkfræðingur
>> Fornustekkum II
>> 781 Hornafirði,
>> t-póst: [email protected]
>> gsm: +3546985532
>> twitter: @flugfiskur
>> http://groups.google.com/group/J-Programming
>>
>>
>> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
>>
>> góður kennari getur stigið á tær án þess að glansinn fari af skónum
>> /|_ .-----------------------------------.
>> ,' .\ / | Með léttri lund verður |
>> ,--' _,' | Dagurinn í dag |
>> / / | Enn betri en gærdagurinn |
>> ( -. | `-----------------------------------'
>> | ) | (\_ _/)
>> (`-. '--.) (='.'=) ♖♘♗♕♔♙
>> `. )----' (")_(") ☃☠
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm