Yes, my $x variable is only this, x:\department\dpt1
I´ve tried putting the string directly (instead of $x) and the script show me the same error.
Could it be that the folder size is too big?