Re: Syncthing - open+decentralized BitTorrent Sync alternati
Posted: Wed Jan 07, 2015 3:00 am
... (changelog and download at http://github.com/syncthing/syncthing/r ... g/v0.10.18).
TPFC Forums
https://www.portablefreeware.com/forums/
https://www.portablefreeware.com/forums/viewtopic.php?t=21630
Code: Select all
@echo off
%~d0
cd "%~d0%~p0"
IF %ERRORLEVEL%==0 GOTO PATH_IS_OK
exit
:PATH_IS_OK
rem set AppData=D:\Data\syncthing\
set AppData=%~d0%~p0
set LocalAppData=%AppData%
start "syncthing" /B /LOW syncthing.exe
Based on a comment from the developer, this should also work (untested):webfork wrote:So I did some testing on this based on this post: https://github.com/syncthing/syncthing/issues/416 I put together a possible sequence:
A command-line window will appear, a key will be generated, and then a web browser window will open.
- From the home page, download either 32 or 64-bit "core"
- Extract the zip file to a folder of your choice
- In this same folder, create a text file with the following data:
Code: Select all
@echo off %~d0 cd "%~d0%~p0" IF %ERRORLEVEL%==0 GOTO PATH_IS_OK exit :PATH_IS_OK rem set AppData=D:\Data\syncthing\ set AppData=%~d0%~p0 set LocalAppData=%AppData% start "syncthing" /B /LOW syncthing.exe
- Re-name it syncthing.bat and launch
Code: Select all
cd /d "%~d0%~p0"
start syncthing.exe -home syncthing-config
To get rid of the console window, you could try replacing the text in the batch file with the following:webfork wrote: ↑SyncThing official method (missing some of the polish but uses less disk space, much less RAM, and doesn't require dotNET):
The program maintains a console window with a listing of commands. When closed, the program shuts down.
- Download the latest release: https://github.com/syncthing/syncthing/releases (scroll down to "latest release" in a green box)
- Download the "windows" zip file corresponding to your operating system (if you're not sure, go with the 386 version).
- Extract to a folder of your choice
- Create a text file with the text: syncthing.exe -home=.
- Rename the text file to syncthing-portable.bat and launch
Code: Select all
@start "" "syncthing.exe -home=."
webfork wrote: ↑we simply don't have another program on the site like that.
True but for some time we didn't accept dotNET or Java programs. If there were only a hack to hide the CMD window...
Code: Select all
syncthing.exe -no-console -home=.
Code: Select all
syncthing.exe -browser-only -home=.
Well I wasn't aware of it until today, but FuguHub is actually one such program: while you're using it, there's an always-visible CMD window. I guess there is a precedent for adding Syncthing.Midas wrote: ↑Tue Mar 12, 2019 4:47 am I think you answered your own question there...
webfork wrote: ↑I would like to add this to the database but I'm not sure about the extra CMD window that it opens and the use of a Web browser interface -- we simply don't have another program on the site like that.