Marginally related but more trivia, there is a new ps2exe project on
codeplex (http://ps2exe.codeplex.com/ )
source:
http://blogs.technet.com/b/heyscriptingguy/archive/2011/07/22/learn-about-two-codeplex-projects-ps2exe-and-robopowercopy.aspx



On Wed, Jul 27, 2011 at 9:16 AM, Cameron <cameron.orl...@gmail.com> wrote:

> Could you not write the batch file and then use something like bat2exe?
> That way the password is tucked safely away.
>
> On Wed, Jul 27, 2011 at 12:11 PM, James Rankin <kz2...@googlemail.com>wrote:
>
>> In that case, try CPAU from JoeWare. It lets you "run as" a particular
>> user by wrapping up the encryption in a "job" file. Don't know whether it
>> will work for what you need.
>>
>>
>> On 27 July 2011 17:08, Oliver Marshall <oliver.marsh...@g2support.com>wrote:
>>
>>> But that requires the end user to know the password doesnt it?
>>>
>>> Sent from my iPhone though please don't tell my friends, I'll never live
>>> it down.
>>>
>>> On 27 Jul 2011, at 16:49, "Ben Scott" <mailvor...@gmail.com> wrote:
>>>
>>> > On Wed, Jul 27, 2011 at 11:43 AM, Oliver Marshall
>>> > <oliver.marsh...@g2support.com> 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 listmana...@lyris.sunbeltsoftware.com
>>> > with the body: unsubscribe ntsysadmin
>>> --
>>> Network Support
>>> Online Backups
>>> Server Management
>>>
>>> Tel: 0845 307 3443
>>> Email: oliver.marsh...@g2support.com
>>> Web: http://www.g2support.com
>>> Twitter: g2support
>>> Newsletter: http://www.g2support.com/newsletter
>>> Mail: 2 Roundhill Road, Brighton, Sussex, BN2 3RF
>>>
>>> Have you said something nice about us to a friend or colleague ?  Let us
>>> say thanks. Find out more at www.g2support.com/referral
>>>
>>> G2 Support LLP is registered at Mill House, 103 Holmes Avenue, HOVE
>>> BN3 7LE. Our registered company number is OC316341.
>>>
>>>  ~ 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 listmana...@lyris.sunbeltsoftware.com
>>> with the body: unsubscribe ntsysadmin
>>>
>>>
>>
>>
>> --
>> "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into
>> the machine wrong figures, will the right answers come out?' I am not able
>> rightly to apprehend the kind of confusion of ideas that could provoke such
>> a question."
>>
>> ****** IMPORTANT INFORMATION/DISCLAIMER *****
>>
>> This document should be read only by those persons to whom it is
>> addressed. If you have received this message it was obviously addressed to
>> you and therefore you can read it, even it we didn't mean to send it to you.
>> However, if the contents of this email make no sense whatsoever then you
>> probably were not the intended recipient, or, alternatively, you are a
>> mindless cretin; either way, you should immediately kill yourself and
>> destroy your computer (not necessarily in that order). Once you have taken
>> this action, please contact us.. no, sorry, you can't use your computer,
>> because you just destroyed it, and possibly also committed suicide
>> afterwards, but I am starting to digress...... *
>>
>> *The originator of this email is not liable for the transmission of the
>> information contained in this communication. Or are they? Either way it's a
>> pretty dull legal query and frankly one I'm not going to dwell on. But
>> should you have nothing better to do, please feel free to ruminate on it,
>> and please pass on any concrete conclusions should you find them. However,
>> if you pass them on via email, be sure to include a disclaimer regarding
>> liability for transmission.
>> *
>>
>> *In the event that the originator did not send this email to you, then
>> please return it to us and attach a scanned-in picture of your mother's
>> brother's wife wearing nothing but a kangaroo suit, and we will immediately
>> refund you exactly half of what you paid for the can of Whiskas you bought
>> when you went to Pets** **At Home yesterday. *
>>
>> *We take no responsibility for non-receipt of this email because we are
>> running Exchange 5.5 and everyone knows how glitchy that can be. In the
>> event that you do get this message then please note that we take no
>> responsibility for that either. Nor will we accept any liability, tacit or
>> implied, for any damage you may or may not incur as a result of receiving,
>> or not, as the case may be, from time to time, notwithstanding all
>> liabilities implied or otherwise, ummm, hell, where was I...umm, no matter
>> what happens, it is NOT, and NEVER WILL BE, OUR FAULT! *
>>
>> *The comments and opinions expressed herein are my own and NOT those of
>> my employer, who, if he knew I was sending emails and surfing the seamier
>> side of the Internet, would cut off my manhood and feed it to me for
>> afternoon tea. *
>>
>>
>>   ~ 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 listmana...@lyris.sunbeltsoftware.com
>> with the body: unsubscribe ntsysadmin
>>
>
> ~ 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 listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>

~ 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 listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to