Tim writes..
>unfortunately the syntax have to be something like
>\\server\share$\new_directory. This script will get the values from an
>INI-file or by computing it during an user creating process.
If it comes out of an ini file, then unless you're doing some bizarre
eval call you're strings are going to be exactly like they are in the
ini file. No \n translation will be done on your string:
# file paths.ini
\\server\share$\new_directory
\\server2\share2$\new_as_well
# file blah.pl
open IN, 'paths.ini';
while(<IN>) { chomp; print "[$_]\n" }
close IN;
Something else must be happening that you're not telling us. Perhaps
you're not chomping the values before sending them to mkdir?
--
Jason King
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs