> Bob Metelsky <[EMAIL PROTECTED]> wrote: > That's very interesting... Thank you. Do you know how that can be set > in > an env variable? Or how the hidden variable can be passed around? > Eg > C:\ads>set var=<file.txt:pwd > Or > C:\ads>set var=more<file.txt:pwd > Echo %var% > C:\ads> echo is on > ???
This works in XP Pro, dunno about older versions: Y:\>echo password >file.txt:pwd Y:\>type file.txt Y:\>more <file.txt:pwd password Y:\>more <file.txt:pwd >zot.txt Y:\>type zot.txt password Y:\>for /F "usebackq" %i in (`type zot.txt`) do @set zot=%i ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <how about this one, eh? Unix shell, eat your heart out! :)> Y:\>set yaddayaddayadda....... windir=C:\WINDOWS ZOT=password Y:>del zot.txt Assuming you do this within "setlocal", you should be fine. HTH Cheers Nuno Souto [EMAIL PROTECTED] -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Nuno Pinto do Souto INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).