Search found 5 matches

by oriceon
06 Jan 2018, 17:45
Forum: General Discussion
Topic: Sync and in use executable
Replies: 4
Views: 822

Re: Sync and in use executable

Is it about Target one
by oriceon
06 Jan 2018, 14:55
Forum: General Discussion
Topic: Sync and in use executable
Replies: 4
Views: 822

Sync and in use executable

Hi, what about synchonizing an executabile that is running? How can i handle that?
by oriceon
23 Dec 2017, 10:02
Forum: General Discussion
Topic: PostSyncCommand
Replies: 3
Views: 701

Re: PostSyncCommand

Maybe someone need a bat to do that.

@echo off

setlocal enableextensions disabledelayedexpansion

set logPath=Path_To\Logs

set "lastLog="
for /f "delims=" %%a in ('dir /b /o-d "%logPath%\BatchRun*.log" 2^>nul') do (
if not defined lastLog set "lastLog=%%a"
)


if /i "%lastLog%" NEQ "Access ...
by oriceon
22 Dec 2017, 16:11
Forum: General Discussion
Topic: PostSyncCommand
Replies: 3
Views: 701

Re: PostSyncCommand

It was nice if already has an implementation of that. Sure, i'll made a bat to read Last log and see if found synced files and do necessary.. Thank you for your time.
by oriceon
22 Dec 2017, 11:21
Forum: General Discussion
Topic: PostSyncCommand
Replies: 3
Views: 701

PostSyncCommand

Hello there.

Is there a way to run a command only if changes occurred after synchronization in target directory?

I want to taskkill a process and reopened it.


Thanks.