Xenos Posted January 25, 2005 Share Posted January 25, 2005 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 comment Share on other sites More sharing options...
falconv Posted January 25, 2005 Share Posted January 25, 2005 (edited) 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 January 25, 2005 by falconv Link to comment Share on other sites More sharing options...
Xenos Posted January 25, 2005 Author Share Posted January 25, 2005 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 Link to comment Share on other sites More sharing options...
falconv Posted January 25, 2005 Share Posted January 25, 2005 LOL!! Glad to hear you got it working Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now