Runs okay within FFS program / Not as a task

Get help for specific problems
Posts: 27
Joined: 20 Nov 2021

jackdashack

I had a file in this folder, apparently a system file that was for example .849C2293-D346-4E56-8D6E-42412F2A707D

and of course FFS balked and said it's locked by another process. So in creating this batch I excluded it and then mirroring ran fine.

When I create a windows task and click on run I get the same message I used to get within FFS. Can't copy because it's a locked by another program. Do you know why FFS will run it and when testing the task it balks at that file I've excluded in FFS?

Hope that wasn't too cryptic. Not good at explaining here. ty jep
Posts: 27
Joined: 20 Nov 2021

jackdashack

I found the answer. In the Tutorial Video the nice lady says in the video on Scheduling, that the Argument, which in my case is a "batch file" must have " " at each end, but apparently only if your batch name has a space. For example, [My backup_batch.ffs] (forget the containers) See that space after My? She says so it doesn't pick up it as 2 arguments begin and end it with quotes so it see's it at just one argument. My batch name had no spaces so I figured didn't need the quotes. According to her speech you don't. Well when I put quotes on my Argument, even though there were no spaces, it worked. I'll go with that and not worry about how she presented it.
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

The "lady" in the tutorial is a voice-over, reading out what the FFS author Zenju asked her to ...

The fact that you have to use quotes around a sync configuration filename that does not comprise spaces is very remarkable. Are you sure that there were also no spaces in the path pointing to the configuration file?
Posts: 27
Joined: 20 Nov 2021

jackdashack

This is the name of my batch . . .

OneDriveSyncSettings.ffs_batch
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

My question is not about a space in the OneDriveSyncSettings.ffs_batch filename,
but about a the path preceding the filename,
e.g. a space in the Rootfoldername\Subfoldername part of
C:\Rootfoldername\Subfoldername\OneDriveSyncSettings.ffs_batch
Posts: 27
Joined: 20 Nov 2021

jackdashack

In Task Manager the it appears the space you speak of might be there. I had a snip to show but I don't see an option to post an inline image. So I'll have to type it.

Action | Details
---------------------------------------------------------------------------------------------------------------------
Start a Program "C:\Program Files\FreeFileSync\FreeFileSync.exe" "C:\Program Files\FreeFileSync\OneDriveSyncSettings.ffs_Batch"

Could not get that on one online. I see possible 2 offences. 1) is it the space between the words Program and Files on each the Start Folder and the Argument? or 2) the quotes with a space between the Start Folder and the Argument? or 3) both?
Posts: 27
Joined: 20 Nov 2021

jackdashack

Also the Task says, Operator or Administrator has refused the task.
However, I change up some files, made sure they reflected in my Explorer, Ran the task and FFS copied them or mirrored my local drive.
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

It's the space in the full path, between 'program' and 'files'
That's why you needed double quotes
Posts: 27
Joined: 20 Nov 2021

jackdashack

Okay thanks. Plerry has helped a lot to get me here. So you are saying I haven't over used the quotes, everything is okay as you see it? I can run this from Task Scheduler, I'm not sure I've seen it run every 10 minutes like the lady in the Tutorial Video says. I'll test that. But wondering about that result stated above. Operator or Admin has refused the task? May be that I can run it manually, but it is not running as a schedule. I'll check that. It does report it's running.
Posts: 27
Joined: 20 Nov 2021

jackdashack

It appears that Warning about Operator/Administrator I mentioned above is not bogus. Something is stopping it from running auto. Manual, fine, auto, no?