View Single Post
Old 03-03-2010, 10:46 AM   #616
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Joember
Well, besides linux way there is a way to change Browse Folders so that it treats windows shortcuts (I don't know if there is any better way) as target folders/files. Windows shortcut format is not documented, but is quite easy as far as I remember.

What's needed is basically a JS function, that would take path to the lnk file as input and return target file descriptor as a result. Stream.File can read "chunks" (readChunk(size)), and chunks have peek(offset) function, that returns byte (?) values. Probably this is enough to write it.
kartu is offline   Reply With Quote