Exactly. But to get that to work *you have to ensure the "run from" 
position is IN the directory*.

This somewhat obscure batch seems to do it... the first line changes both 
the disk & directory to the one the batch is run from to ensure the command 
works....

cd /D %~dp0
nw.exe --user-data-dir=.\data

The IDIOT problem, of course, is I was forgetting how to address the actual 
wikis :-). So I maybe got a perfectly flexible, portable, setup but wikis 
still on absolute paths. LOL. Later.

Mark S. wrote:
>
> If everything is on the same stick, can't you use relative paths to the 
> executable and the data dir?
>
> Your command
>
> C:\bag\PortableApps\tiddlydesktop\nw.exe --user-data-dir=C:\bag\
> PortableApps\tiddlydesktop\data 
>
> Then becomes (when launched from a bat file inside tiddlydesktop)
>
>
> nw.exe --user-data-dir=.\data 
>
> Or at least I think. It should run the same then even if your copy it all 
> to your flash and run it on j: drive or something.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5b101508-1c75-43b3-acdd-9ca7d273062d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to