Hi,
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.
Maybe there is the possibility to use a regex - but I didn't get the dollar
sign out of the path.
Thanks,
Tim
Conor Lillis
<[EMAIL PROTECTED]>
An
19.03.2003 13:37 'Tim Straub'
<[EMAIL PROTECTED]>
Kopie
Thema
RE: Antwort: UNC Path (hidden) in
Variable With MKDIR
you could try \\\\server\\new\$\\New_Directory ie. escape the dollar in the
hidden share name
hth
Conor
-----Original Message-----
From: Tim Straub [mailto:[EMAIL PROTECTED]
Sent: 19 March 2003 12:33
To: [EMAIL PROTECTED]
Subject: Antwort: UNC Path (hidden) in Variable With MKDIR
Hi list,
is there any way to open a hidden UNC path with the mkdir statement
given by a parameter.
Let's say I run the script with the parameter
\\server\new$
the path will get truncated one time by the newline '\n' and the dollar
sign will by cut off.
Then putting it in the variable $x the statement
mkdir( $x, 0777 );
will fail!
I would like to use the script as a subroutine which will get the path -
this have to be done as \\server\\share\new_directory. So it is not
possible to use an other syntax!
Any suggestions???
Thanks in advance
Tim
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this email
by anyone else is unauthorised.if you are not the intended recipient, any
disclosure, copying, distribution, or any action taken or omitted to be
taken in reliance on it is prohibited and may be unlawful. Please note that
any views, opinions or advice contained in this email are those of the
sending individual and not necessarily those of the firm. It is possible
for data transmitted by e-mail to be deliberately or accidentally corrupted
or intercepted. For this reason, where the communication is by e-mail,
J�Davy does not accept any responsibility for any breach of confidence
which may arise from the use of this medium. If you have received this
e-mail in error please notify us immediately at mailto:[EMAIL PROTECTED] and
delete this e-mail from your system.
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs