Mail Archives: djgpp/1998/03/29/17:05:56
ln -s ? I think I see why this doesn't work, and Robert's idea would work
fine. As I see it, (and have tested for myself) under MS-DOS/related dos'es
ln -s creates a stub that points to the original file to EXECUTE: for
example I tried this under OpenDOS:
brick:/$ ln -s /usr/root/doglearn.txt doggie.txt
f:/djgpp/bin/ln: cannot create symbolic link `doggie.txt' to
`/usr/root/doglearn.txt': Improper link (EXDEV)
And when I tried it in the SAME directory as the file concerned, I got:
brick:~$ ln -s /usr/root/doglearn.txt doggie.txt
brick:~$
i.e. it worked, but instead of doggie.txt I got a doggie.exe instead (2048
bytes, just the right size for the stub!)
That's just my $0.02 worth...
The Viking (sheesh, whoever thought programming was easy hasn't been in my
mind in hte past few months!)
---
/| _,.:*^*:., |\ Cheers from the Viking family ...
| |_/' viking@ `\_| | including Marmalade - Running OpenDOS in Christchurch!
| flying-brick | $FunnyMail 5.38 C.S. Lewis: If Man has no God,
\_.caverock.net.nz_/ then where did Man's morals come from?
- Raw text -