1.

Solve : how do I include my password file into another batch script??

Answer»

Hi,
how do I include my password FILE into another batch script?
In Unix I would put my password in a separate "Include" file with this line
psw="mypassword"

Then all my Unix SCRIPTS will include that "Include" file and use that password as a variable $psw
. /path/to/Include/file.txt
login $loginID $psw on $SERVER ;

How do I write a DOS script that does similar things as above.?
THANKS in advance.
u can do that by creating a new environment variable by right click on
"my computer"->properties -> ADVANCED press on environment variable create a new one for eg pas
the in any BAT file u can use its value as %pas%



Discussion

No Comment Found