There is probably a different version of runas that has gotten into an earlier position in your path.
FOR %I IN (runas.exe) DO Dir %~$PATH:I Will tell you what directory the exe is in when running from the command line. If it is different from your shortcut, check your path statement. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fugleberg, David A Sent: Monday, May 24, 2004 4:06 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] OT: Runas command not working from command line Sorry for the offtopic post but have not been able to find the answer... On my workstation, the "runas" command no longer works from the command line. When I try to run anything using runas from the command line, I get a dialog box titled "runas.exe - Application Error", with the text "The exception unknown software exception (0xc00000fd) occurred in the application at location 0x71002399." If I try to run the same thing by right-clicking its icon in Explorer and selecting Run As... it works fine. The exact same command 'used to' work on my workstation, and still does on other workstations. The syntax I'm using is: runas /user:domain\userid command I have no idea what caused this to stop working. <User Mode> Of COURSE I haven't changed anything ! </User Mode> Any ideas what to look for ? I really don't want to rebuild my machine just for this, but I also really want my runas back ! Dave List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/