I have a situation where I am trying to create a zip file from the command line, but I am trying to add a file which starts with a dot.
powershell Compress-Archive -Path .\Dist\._test.txt -DestinationPath .\test
But this gives an error Could not find item Dist\._test.txt
How can I get this powershell command to include files named this way?