I was kindly provided excellent help when I previously asked how to move a file from one folder to another, after it had been sent, using the Sorting?office Filter feature.
It worked great on my PC, but when I installed theBat! on a Windows 2003 Server and tried the same Filtering, the files don't move from one folder to another, they simple are deleted from the Folder.
In Sorting/Office Filters I created an Outgoing Mail Filter with the action Export Message to File:
C:\Documents and Settings\Desktop\Folder\move.bat
and set up a blank move.bat file in the Folder.
And under Sorting>Action>Template added:
copy "C:\Documents and Settings\Desktop\Folder\SubFolder\%Attachments"
"C:\Documents and Settings\Desktop\Folder\Sent"
del "C:\Documents and Settings\Desktop\Folder\SubFolder\%Attachments"
Additionally the Sorting/Office Filter has a 2nd Action, called Run External Action which shows this in the command line:
C:\Documents and Settings\Desktop\Folder\move.bat
So the files in the SubFolder, after being sent, would be moved to a folder named Sent.
What appears to happen now, is that the files are sent and no longer appear in the SubFolder. But they are apparently are not moved to the Sent folder, because after sending, both the SubFolder and the Sent folder are empty.
I am wondering where do the files go to? And I am also hoping someone can help me fix this so that the files move from SubFolder to Sent folder, as they did successfully on my PC.
I have re-created this several times, typed all parts into the Sorting/Office Filter and ran it again, with the same 'disappearing files' result.
Can you help me so that these actions move files from SubFolder to the Sent folder? Or tell me where these files have gone to?
Thank you.
It worked great on my PC, but when I installed theBat! on a Windows 2003 Server and tried the same Filtering, the files don't move from one folder to another, they simple are deleted from the Folder.
In Sorting/Office Filters I created an Outgoing Mail Filter with the action Export Message to File:
C:\Documents and Settings\Desktop\Folder\move.bat
and set up a blank move.bat file in the Folder.
And under Sorting>Action>Template added:
copy "C:\Documents and Settings\Desktop\Folder\SubFolder\%Attachments"
"C:\Documents and Settings\Desktop\Folder\Sent"
del "C:\Documents and Settings\Desktop\Folder\SubFolder\%Attachments"
Additionally the Sorting/Office Filter has a 2nd Action, called Run External Action which shows this in the command line:
C:\Documents and Settings\Desktop\Folder\move.bat
So the files in the SubFolder, after being sent, would be moved to a folder named Sent.
What appears to happen now, is that the files are sent and no longer appear in the SubFolder. But they are apparently are not moved to the Sent folder, because after sending, both the SubFolder and the Sent folder are empty.
I am wondering where do the files go to? And I am also hoping someone can help me fix this so that the files move from SubFolder to Sent folder, as they did successfully on my PC.
I have re-created this several times, typed all parts into the Sorting/Office Filter and ran it again, with the same 'disappearing files' result.
Can you help me so that these actions move files from SubFolder to the Sent folder? Or tell me where these files have gone to?
Thank you.