German,

Do you need to alter the batch file according to something in the wiki, or 
is it fixed?

The best way I have found for local access on my Windows 10 is using 
TiddlyDesktop. Of course this access is only to the local machine not that 
of the node server (if they are different). TiddlyDesktop can access and 
host (not tested by me) both file and folder (node) based wikis.

Bob (even bob.exe) also permits the issuing of commands to the operating 
system, in this case it could be on the separate server but not locally 
(unless they are the same thing).

If, as implied by your brief description, you want a Windows computer 
serving the the wiki, to execute the batch on the server when the user is 
not on the server, Bob seems to be the only full tiddlywiki solution with 
appropriate messaging - 

However as long as the wiki can generate a trigger, that the server can 
identify then respond to, such as saving a tiddler with a known file name. 
Then you can write a server process to respond to the trigger. 
I have in the past, as have others, written what I call a sentinel batch 
that you run on the server that monitors for the existence of a file and if 
it exists runs a preset batch file.

If the batch can be run on the local machine, regardless of what happens on 
the server, such as in your example you could just give everyone a link on 
their computer to run that batch locally, and instructions in the wiki to 
do so.

Regards
Tony

On Monday, June 10, 2019 at 1:57:22 AM UTC+10, German DRF wrote:
>
> Hi everyone,
>
> I am using TiddlyWiki with Node.js over windows and over Linux, I want to 
> execute a .bat file in windows using a button in the web site.
>
> The file is at the same level of folder tiddlers and file tiddlywiki.info.
>
> The file contains some git instructions:
>
> ----
> git add .
> git commit -m "Test"
> git push
> ---
>
> What is the best way to do this?
>
> Best Regards,
>
> German
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/b1e3a2f6-45a5-4d13-81bc-305f566d75e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to