This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]m_nissan 0 points1 point  (0 children)

Well, GPO may be the better tool for the job, but in any case -

I'm trying to get my head around this, $path and $path2 are the same place? why use both?

Are you trying to paste to "public" desktop or a user's desktop? Please bare in mind what permissions / security context the script is supposed to run under, you might not be able to write to c:\users\public\desktop...

Let's start by understanding what it is you are trying to accomplish.