mpb10/PowerShell-Backup

Error: Provided input path does not exist or is not a folder -> manual path works

Closed this issue · 1 comments

Hello,

thanks for the nic script.

I tested with option 2 and set a simple path to a folder to backup into BackupList.txt, but I always get an error

Error: Provided input path does not exist or is not a folder

When I try option 1 and write the same path to the folder to backup by hand it works.
I also tried some other paths in BackupList.txt. The als fail with option 2 but work with option 1.

How can this be?

Thanks!

Regards

OK, sorry! There seemed to be a problem with the variable %username% in the path.
Now it works!