[dokuwiki] Re: [OT] how to embed command parameters into a windows share link?

> So, what I want to do is write a wiki article that contains a table of
> nodes, their IP address and a PuTTY link.  This link would be a link
> to a windows share (where putty exists), along with some command line
> parameters specific to this node.  For example, something like this:
> 
> [[\\share\putty.exe -ssh 10.10.1.1|Terminal]]

(can you create a link to a file-on-share+arguments in HTML outside of
dokuwiki? If so, then it's just a matter of getting that syntax into
dokuwiki)

 Most powerful option: write a bit of code to drop a cookie on the
client's PC, put exe name and arguments in the cookie, and write a
little loader app that opens that cookie up, pulls out the file and
arguments, and runs them. Then point the link at the loader app, voila.

 Second option: glue arguments onto the end of the binary for the exe
(perfectly safe), and when they download it (which has to be from your
own server), it opens itself up, pulls out the last few bytes, and goes
from there.

 Probably the best option for you: create one batch for each server you
want, then make links to those batch files..

 -- dan
 
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: