I am running into an error when trying to submit files that have been deleted. In the workflow, it executes the delete commands (del and rmdir) to delete the file or directory. After those delete commands are executed, I need to call iwsubmit to remove the files/folders that are marked for deletion. The problem is sometimes the iwsubmit works and sometimes it doesn't. The times it doesn't, I can take the exact command from the script and run it from a command prompt and it executes like it is supposed to. Below is the iwsubmit command and the error received when executed from the script.command -> E:\iw-home\bin\iwsubmit.exe -w -u -r "\default\main\i_t_net\WORKAREA\CSS_TS_Support\htdocs\csstest\ATest\TestFolder2" "delete comment" 2>&1result -> \default\main\i_t_net\WORKAREA\CSS_TS_Support\htdocs\csstest\ATest\TestFolder2: ERROR:02401: File or directory is the same as the other versionI have done a search for this error, but I'm not able to find anything about what is causing it let alone how to fix it. Anyone have any experience with this error or any ideas of what is causing it?Thanks!
ERROR:02401: File or directory is the same as the other version
Attached are screen shots of the directories before the delete and after so you can clearly see that the timestamps on them are different...therefore not sure why it is saying they are the same. It also doesn't explain why the submit on one of the directories will work with the other one doesn't when they are processed the same way.
my $cmd = qq($iwhome/bin/iwsubmit -r $vpathToDirectory $comment);my $results = qx($cmd 2>&1);my $status = $? >> 8;if ($status) { # log all the relevant information: $cmd, $status, and $results}else { # log that everything went okay}