Closed danielkcng closed 6 years ago
Just checking, you are using AlphaFS 2.2.1?
Yes, I tried both 2.2.0 and 2.2.1, same result.
BTW, if the SourceFilePath is long, the Move also failed.
Are $sourceFilePath
and $destFilePath
relative or absolute paths?
(Could you post the paths.)
If I look at the error, it seems that $sourceFilePath
is passed literally, not its value.
Oh sorry, I must be in bad condition today, I typed the paths incorrectly ☹, causing the errors, despite checking them visually before I posted the issue.
We've all been there. 😄
Using Powershell command [Alphaleonis.Win32.Filesystem.File]::Move($sourceFilePath, $destFilePath)
gives: Exception calling "Move" with "2" argument(s): "(3) The system cannot find the path specified: [\?\$sourceFilePath]"