Jump to content

Recommended Posts

Hello!

I am trying to set a variable ($DESKTOPPATH) to be a networked drive, however I am getting an error that it is unable to parse the line.

Basically

$DESKTOPPATH = "\\mynetworkdrive\E$\company\group\folder\folder\folder"

Anybody know what I am doing wrong?

Link to post
Share on other sites

Maybe you should post some of the code you are working with? What you've given, it seems it should work.

Here's what I threw together real quick, and it works fine:

$dir = "\\falconv\Apps\IE"
DirCopy( $dir, "C:\Temp\AppInst\IE" )
Edited by falconv
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...