Title: RE: escaping "&temp&" in dos directory

will this help

02 ! echo bob > ./'&SAVEDLISTS&'/bobtxt
writes
02 ! ls -al ./'&SAVEDLISTS&'/bobtxt
lists
-rw-rw-rw-   1 root     develop        4 03 Feb 16:22 ./&SAVEDLISTS&/bobtxt

notes its '&SAVEDLISTS&' not just &SAVEDLISTS&

bob

-----Original Message-----
From: Stu Glancy [mailto:[EMAIL PROTECTED]]
Sent: 03 February 2004 16:11
To: 'U2 Users Discussion List'
Subject: RE: escaping "&temp&" in dos directory


&SAVEDLISTS& is the only type 1/19 file guaranteed to be there.  Others that
may be there are &TEMP&, &PH&, &COMO&, &HOLD&, and &MAP&.  Also, the UV
account has a BP file which is a type 19. Most accounts have a BP unless
deleted.  Why not make your own type 19 file to handle scripts?

-----Original Message-----
From: Stuart Boydell [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 02, 2004 11:26 PM
To: U2-Users
Subject: escaping "&temp&" in dos diectory


Just a quick curly one, UV 10 Windows.

I need to run a script in a &temp& directory because that's the only one
that is generally going to be a type 1/19 in any given account.

The ampersands are causing me grief, does anyone know how to escape them? If
it's not possible, I'll just write it to a path but I would prefer it to be
there for houskeeping.

execute 'dos /c cscript &temp&/myscript.vbs' capturing cap

Regards,
Stuart Boydell

















**********************************************************************
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have
received this email in error please notify the Spotless IS Support Centre
(61 3 9269 7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**********************************************************************

_______________________________________________
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
_______________________________________________
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________
________________________________________________________________________
Confidentiality Notice: This e-mail and any attachments are
intended solely for the addressee and may contain confidential or
privileged information. If you are not the named addressee, or the
person responsible for delivering the message to the named
addressee, please notify the sender as soon as possible and delete
the material from your computer. This message will be protected by
copyright. If it has come to you in error, you must not take any
action based on its contents nor must you copy or show the message
to any person other than the intended recipient.
________________________________________________________________________


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to