Jump to content
Sign in to follow this  
Xenos

Unable to parse line

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?

Share this post


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

Share this post


Link to post
Share on other sites

Yes it is too bad you are dealing with an idiot. Maybe if my SCRIPT matched my code here it would work.

Syntax

Total Newbie

Share this post


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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...