-
Su.exe
Hey
I'm trying to use su.exe from a batch file and convert that batch file to a .exe for security purposes (sensativity of the password) with something like bat2exec/batlite.
my batch file consists of:
-----------------------------
echo off
set SU_PASSWORD=fonypasswd
su administrator "route add 0.0.0.0 MASK 0.0.0.0 172.16.1.1" -cb
------------------------------
When i convert the .bat to .com and run it I get an error "Out of environment space" when it gets to the "set" portion of the file.
The supposed solution to this is to allow more "initial environment space". I have done that and I still get the error.
Any thoughts
thanks
out