On Wed, Jul 27, 2011 at 11:43 AM, Oliver Marshall
<[email protected]> wrote:
> Sounds like a batch file but I can't use a batch file for this as there is a
> password involved which a batch file will make easily accessible.

@ECHO OFF
SETLOCAL
SET PASSWORD=
SET /P PASSWORD=Password?
IF NOT DEFINED PASSWORD (
        ECHO You did not enter a password!
        EXIT /B
        )
C:\foo\bar.exe /baz /pass %PASSWORD%

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to