Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

links.exe (Developers)

posted by Doug E-mail, 28.10.2013, 23:45

> try file://c:/somedir/afile.htm

Thanks for the suggestion, but i was already familiar with Win/DOS URI syntax for local files:

file:///d|/somedir/afile.htm
file:///d:/somedir/afile.htm

What i'm trying to do is use Links as an external viewer from my TUI shell, and that only supplies standard DOS syntax (for example: d:\path\filename.ext) when it passes command-line parameters to an external.

> or c:/somedir/afile.htm

Ahhh, thanks for the "/" tip! It works... as long as the entire path from the root is specified, as in:

links d:/somedir/afile.htm

So that's a step closer than the URI syntax, but it still won't help relative paths like:

links d:afile.htm

Unfortunately (as above), my shell program uses only "\" characters when supplying path info, so i guess i'm SOL... unless i can find the "/" chars internally in LINK.EXE's path strings and hack them into "\" chars.

I guess i'll give it a try and report back. But it's a big .EXE file....

- Doug B.

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (2 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum