In theory, you could do: Runas /usr:domain\user "command" <echo "password"
That might do it ------------------------------------------------------ Roger D. Seielstad - MCSE Sr. Systems Administrator Inovis - Formerly Harbinger and Extricity Atlanta, GA > -----Original Message----- > From: Furman, Morris [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 9:53 AM > To: NT 2000 Discussions > Subject: RE: Runas Command > > > Looks like you cant input a password via the command line. > > -----Original Message----- > From: Lum, David [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 9:53 AM > To: NT 2000 Discussions > Subject: RE: Runas Command > > > When in doubt, drop to the command prompt and type "<command> > /?" (without > the quotes) RUNAS /? will give you the switches. > > Dave Lum - [EMAIL PROTECTED] > Sr. Network Specialist - Textron Financial > 503-675-5510 > > > -----Original Message----- > From: Furman, Morris [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 06:42 AM > To: NT 2000 Discussions > Subject: Runas Command > > > What is the syntax to input a password when using the "Runas" > command line? > I'm trying to create a batch file using the runas command. > > Thanks. > > Morris Furman > Supervisor, Local Network Services > OfficeMax, Inc. > 3605 Warrensville Center Rd. > Shaker Heights, OH 44122 > * (216) 471-6081 > 6 (216) 471-5780 > * mailto:[EMAIL PROTECTED] > * Availability: Monday - Friday/9:00am - 6:00pm > > ------ > You are subscribed as [EMAIL PROTECTED] > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe send a blank email to %%email.unsub%% > > ------ > You are subscribed as [EMAIL PROTECTED] > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe send a blank email to %%email.unsub%% > ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
