Question:

I have a script that copies a number of files from different sources to a single directory for backup. The only step of the script the errors out has a space in both the path and file names: `\\server\Network Shares\Transfer\tu3\tu3 Code.mdb`

I get the error `copy-item : Cannot find path '\\server\Network Shares\Transfer\tu3\tu3 Code.mdb' because it does not exist.` and I’m assuming it’s because of the spaces in either the path or filename. Does PowerShell allow spaces in a fully qualified path? If not, how can I get at the file?

Here’s the relevant code (My`\$Dest`is defined as a global variable for the script):