Cannot find specified path

Get help for specific problems
Posts: 2
Joined: 14 Jun 2010

cheerfulnut

Hello all,

I'm sure my question has a simple solution but I'm stumped. The issue is this:

I created an ffs_batch file and want to set task scheduler to run it on a
daily basis to backup files to a network drive. The batch file was created
successfully - if I double click on it, it runs just fine, copying new files
to the network location.

However when I create a task, the log file indicates that it has run - but
copying failed because "cannot find the specified path"
I'm pasting a snippet of the log below (the Japanese portion states "cannot
find the specified path")

***************************************
Start

Error: Directory does not exist:
"L:\Name\Desktop\"
You can ignore the error to consider not existing directories as empty.
Windows Error Code 3: 指定されたパスが見つかりません。
Warning: Initial synchronization:
One of the FreeFileSync database files is not yet existing:
"L:\Name\Desktop\sync.ffs_db"
Setting default synchronization directions: Old files will be overwritten with
newer files.
Info: Processing folder pair:
Left: "C:\Users\Name\Documents\"
Right: "L:\Name\Desktop\"
Info: Copying file "desktop.ini" to
"L:\Name\Desktop"
Error: Error creating directory:
"L:\Name\Desktop"
Windows Error Code 3: 指定されたパスが見つかりません。
***************************************

I don't understand why it's "trying to create directory". I also don't
understand why the heck it works just fine when I double-click the batch file
but not when I set it to run as a task!

Do you have any solutions/thoughts/advice?

Thanks!
User avatar
Site Admin
Posts: 7170
Joined: 9 Dec 2007

Zenju

The problem semms to be that "L" is a mapped network drive that is visible to
your user only. But the task planner job is running as another user that
doesn't see this mapping. Using direct UNC syntax (\\servername\folder) should
help.
Posts: 2
Joined: 14 Jun 2010

cheerfulnut

That seems to have done the trick!! Thanks so much Zenju :)