Hi,
I created a "File Availability" test.
I want to create an archive of the files, so when a new file created it will be moved to a new folder.
The problem is that the file have the same name each time.
I tried to use the %FileTime% variable in order to give a unique name.
I tried to use CMD with the move command, but when I add the %FileTime% variable I get: "The system cannot find the drive specified"
Without this variable the action succeed.
Any help would be appreciated.
Thanks
Move file action, can't use %FileTime%
The command is:
Code: Select all
cmd /c move /Y \\10.36.198.88\folder\%FileName% \\10.36.198.88\folder-old\%FileTime%_%FileName%