Jump to content

wierd occurence of envget....


 Share

Recommended Posts

just a quick question....why will this work:

#include <String.au3>
$EnvPass = EnvGet("DriverPass")
$EncPass = _StringEncrypt (0 , $EnvPass , "pass")

MsgBox(0, "" , $EncPass)       ;***************shows correct decrpyted passoÝ÷ ٩ݶ¬Â)eZºÚ"µÍÚ[ÛYH    ÔÝ[Ë]LÉÝÂÌÍÑ[ÜÈH[Ù]
    ][ÝÑ]ÜÉ][ÝÊBÙÐÞ
    ][ÝÉ][ÝÈ    ÌÍÑ[ÜÊHÊÚÝÜÈ]È[[HXXBÌÍÑ[ÔÜÈHÔÝ[Ñ[Ü
    ÌÍÑ[ÜÈ ][ÝÜÜÉ][ÝÊBÙÐÞ
    ][ÝÉ][ÝË    ÌÍÑ[ÜÊHØØ[   ÌÍÑ[ÔÜÈHÔÝ[Ñ[Ü
    ÌÍÑ[ÜÈ ][ÝÜÜÉ][ÝÊBÌÍÔÜÈHÕRPÝXY
    ÌÍÕ[ØÚÔÜÈJHÕÓÔÒSÂY ÌÍÔÜÈH ÌÍÑ[ÔÜÈ[ÜÝÙÛÙK

Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.

Link to comment
Share on other sites

MsgBox(0 , "" , $EnvPass) ;************************shows it as an empty variable

Return Value

Returns the requested variable (or a blank string if the variable does not exist).

Therefore, I'd guess that the environment variable you're trying to read, does not exist or has a blank value.

I think I know what you're trying to do but can you explain it in your own words real quick to be sure? From there it will be easier to give helpful feedback..

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...