argumentum Posted June 30, 2024 Posted June 30, 2024 Run("syncthing.exe -–no-browser --no-console", @ScriptDir, @SW_HIDE) Don't work on Windows 11 home. ( solution on the next post ) Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Solution argumentum Posted June 30, 2024 Author Solution Posted June 30, 2024 If ProcessExists("syncthing.exe") Then Exit 4 FileChangeDir(@ScriptDir) Run(@ComSpec & ' /c powershell -c "Start-Process -FilePath ''' & @ScriptDir & '\syncthing.exe'' -ArgumentList ''--no-browser'' -WindowStyle Hidden"', @ScriptDir, @SW_HIDE) ..and that works Posted problem and solution for the next soul looking for a fix. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now