On the latest version of Windows 10, 7-zip is having issues with archiving folders and files with special characters in the name. For example, it will ignore a folder or file called "google.com" or "Trick |Treat" or "1/4" and so on.
You can replicate this issue by using this Powershell script
I do not think this is an issue within 7zip. Your script does not work properly.
Maybe you have to put -LiteralPath into it, so that you get the full filename+path.
Example:
On the latest version of Windows 10, 7-zip is having issues with archiving folders and files with special characters in the name. For example, it will ignore a folder or file called "google.com" or "Trick |Treat" or "1/4" and so on.
You can replicate this issue by using this Powershell script
I do not think this is an issue within 7zip. Your script does not work properly.
Maybe you have to put -LiteralPath into it, so that you get the full filename+path.
Example:
Last edit: Hurry 2020-01-20
That did not work for me. What Powershell version are you using? https://i.imgur.com/TCrQBsS.png
Same as you (Windows 10 with latest updates), Powershell Build 18362.
Does your script work for you though? It doesn't do anything at all. No error, no execution.
Yes, it works:
Maybe your application path to 7z.exe differs from mine ? (C:\Program Files\7-Zip\7z.exe)
Or there are no .7z - files in your folder?
The path is the same, but it doesn't work for me. Tried it on a fresh install of Windows 10 and it didn't work there either.
It's the same path. Why is it working for you but not for me?