[THIN] Re: OT: Scripting Error

  • From: <christopher.walter@xxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 17 Dec 2008 09:41:36 -0500

I had something similar when I setup a new environment.  It was being caused by 
the mandatory profile.  I change the mandatory profile to a .dat and then ran 
the script then changed it back to a .man and it was never a problem again.

Chris
________________________________
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Jeremy Saunders
Sent: December 17, 2008 1:24 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] OT: Scripting Error

Ok guys and girls...slightly off topic, but something I've noticed with my cmd 
scripts when running from a UNC path...

Start the script off with SetLocal

End the script with EndLocal

After the EndLocal, the script returns the message "The filename, directory 
name, or volume label syntax is incorrect."

If run from a local drive or a mapped drive, it runs without error.

----------------start of script------------
Setlocal

Echo This is a test

EndLocal

Pause
------------end of script---------------

The DisableUNCCheck registry value has been implemented, but does not seem to 
make a difference in relation to the issue.

It's not a pressing issue, but it's one of those things that's doing my head 
in, as I cannot find anything on the web suggesting that what I am doing is 
wrong.

Has anyone else come across this?

Cheers.

Kind regards,
Jeremy Saunders

Senior Solution Architect - Virtualisation Specialist |  Datacom Systems WA  |  
29 Oxford Close, West Leederville, WA 6007 Australia
Email: jeremy.saunders@xxxxxxxxxxxxxx<mailto:jeremy.saunders@xxxxxxxxxxxxxx>  | 
 Ph: +61-8-9210-0806  | Mob: +61-413-441-846  |  Fax: +61-8-9380-4226
Personal Blog: http://www.jhouseconsulting.com/index.php

________________________________
Confidentiality and Privilege Notice
This document is intended solely for the named addressee.  The information 
contained in the pages is confidential and contains legally privileged 
information. If you are not the addressee indicated in this message (or 
responsible for delivery of the message to such person), you may not copy or 
deliver this message to anyone, and you should destroy this message and kindly 
notify the sender by reply email. Confidentiality and legal privilege are not 
waived or lost by reason of mistaken delivery to you.
________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Other related posts: