Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: .LNK FILES IN ROCKBOX

Re: .LNK FILES IN ROCKBOX

From: Frederik Möllers <frederik.moellers_at_gmx.de>
Date: 2005-12-05

About that relative path thing:

I might not have got that correctly, but if you really want to save the
_relative_ location of the file, you gotta change the shortcut file every
time you move it on the HD... I would prefer some kinda absolute position
only without the drive letter. So Rockbox would just have to go into the
root dir and then go to the path specified in the file.

About the creation of .rblink (or whatever) files:
If they shall really be in the format:
"ROCKBOXLINK:/path/file.mp3"
or however you said, it would be quite easy to create those files (for
windows, which I use most of the time *duck*). You just have to make a
Right-Click-Menu-Extension (one simple registry entry, even I could write
such thing) and you'd have to write a programm that writes the path of the
specified file into a shortcut file, without the drive letter (if I'm not
wrong, that should be a <10kb programm, I could try to work that out, too,
since with the right-click-menu, windows gives the filename - i think with
the complete path - as a parameter to the program).
So if somebody gets the support on the Rockbox-side done, I'd be glad to
help for the Windows support.

Regards,
Fred

-- 
"The difference between fiction and reality? Fiction has to make sense."
(Tom Clancy)
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
Received on Mon Dec 5 18:41:35 2005

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa