Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

The given path's format not supported

$
0
0

Hi gurus

  I am learning PS so go easy on me.

I have the following simple lines but is giving me problems

$filetobecopy="c:\computer.txt"

$filedestination="c:\temp\"

$PC="60.56.23.45"

copy-item $filetobecopy -Destination \\$PC\c$\$filedestination

and it gives me the "The given Path's format is not supporter"

can someone help me please.

 

Thanks a bunch

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles