From: Dylan Penhale <dylanpenhale@(email surpressed)>
Subject: RE: UNC paths are not supported when including some custom mel scripts
   Date: Mon, 03 Jul 2006 21:12:56 -0400
Msg# 1340
View Complete Thread (8 articles) | All Threads
Last Next
|I think "fixed" here means "we added a registry key to suppress the
|error", unfortunately.
|
|> Custom Mel:
|>
|> //print windows username
|> string $WIN_Username = `system("echo %USERNAME%")`; print ("\nCURRENT
|> WINDOWS USER:\n" + $WIN_Username);
|
|You can get to environment variables through $ENV in perl, so the above
|could be changed to string $WIN_Username = $ENV{'username'} and you
|could avoid the problem altogether.

Hi Niklas

We actually have to perform quite a few other commands after this one so
doing it in mel is necessary, however luckily we are able to use mapped
drives here too which doesn't display the error.

Thanks for your help.

|
|/Niklas
|--
|Swiss International | www.swiss.se


Last Next