-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-Action Rename and -Action Delete fail if the file name contains square brackets. #6
Comments
With the latest commits I have been able to process / verify / re-build / re-veritfy all my remaining data sets successfully. Everything is working so well that there is nothing else on my wish list. Maybe if you can also change the wording of this line of output before the next release: Line 22 in dbc00cf
Thanks again for all your hard work on this application. I'm happy to say goodbye to microsoft fciv. Your PsFCIV is so much more versatile and useful with its wide array of secure hashing algorithms. |
I have a solution that may resolve this, but here is the issue first from a test run:
It would seem that both the Rename-Item and Remove-Item cmdlets require the -LiteralPath paramenter to be able to interpret square brackets or other special characters.
I would suggest modifying this function:
PsFCIV/PsFCIV/PsFCIV.psm1
Line 92 in dbc00cf
possible changes below. I have also included two calls to Write-Verbose since I feel better knowing when a file is being modified.
Would it be possible to push version 1.2 to the powershell gallery later? It makes managing versions and re-deployment a bit easier. Thank You!
working_directory.zip
The text was updated successfully, but these errors were encountered: