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. Good luck! -- Mark On Wednesday, March 14, 2018 at 2:17:14 PM UTC-7, @TiddlyTweeter wrote: > > Mark S. wrote: >> >> If you're doing the short path ".\data" then you need to be in the >> directory above data when launching. But, you probably knew that ... >> > > Right. Though I can *only* say that now after a lot of messing about. I'm > really not a geek. I'm a stabber. > > The issue was that just invoking TiddlyDesktop nw.exe from the Explorer > (unless you had CD'd to the run directory) would default to the OS for > placement of config files. One solution would be to provide an environment > variable that would in effect CD to nw.exe's home dir. The problem with > that is its not easily portable. > > The solution I'm testing is a batch file that detects where its being run > from, whatever system it is on, so that commands can be in relative pathing > from then on. So far so good. > > josiah > > -- 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/7f966ac9-10ec-4c09-9954-b4b659c7a0bc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

