I realize that this question is "answered" at the following thread: Specifying the running directory for Scheduled Tasks using schtasks.exe
However, I'm still having trouble understanding the answer and seeing exactly what the result would look like for my situation.
My schtasks command looks like this:
Schtasks /Create /TR "C:\Program Files\Java\jre6\bin\javaw.exe main.MoveFile input.txt" /SC WEEKLY /TN mytask
I want to specify the start in directory of "C:\My Library". Putting a "\" before the tr section fills in a start-in directory of "C:\Program Files\Java\jre6\bin".
I've messed around with it a lot, but I just can't seem to make it work.