runas could not execute the copy command

From: Faisal (faisal_qasimpk_at_yahoo.com)
Date: 06/22/04


Date: 22 Jun 2004 08:18:19 -0700

Hi,

Trying to create a script to copy files using runas, but it is failing with:

"
C:\>runas /user:clas@domain "copy payment_initation"
Enter the password for clas@domain:
Attempting to start copy payment_initiation as user "clas@domain" ...
RUNAS ERROR: Unable to run - copy payment_initiation
2: The system cannot find the file specified.
"

How can this be resolved. I will be grateful for your help.

Regards



Relevant Pages

  • Re: runas could not execute the copy command
    ... > Trying to create a script to copy files using runas, but it is failing with: ... Rick ...
    (microsoft.public.win2000.general)
  • Re: Is It possible to run a script as admin?
    ... > If the device is Win2K or WinXP, you can use RunAs, however Runas will ... > work with an exe and you'll also have to specify a password. ... I wrote a script that requires the user have ... If I could just allow admin access for the logon script I'd be ...
    (microsoft.public.scripting.vbscript)
  • Re: Im new to scripting a I working on a project that I need some help with.
    ... After that the script ... >> that the user account is not valid. ... > it to the Administrators group: ... If the user does not have it, maybe a RunAs solution ...
    (microsoft.public.scripting.vbscript)
  • Re: RunAs Alternatives
    ... Microsoft has a scripted version of Runas also called Runas+.exe. ... >> domain login script in our AD environment. ... >> install the missing updates. ... >> updates from a VBScript login as that local administrator while not ...
    (microsoft.public.scripting.vbscript)
  • Re: Registry Change to 6 services_denied
    ... REM Scripting RunAs Example. ... echo Password> pwd.txt ... You avoid handing out admin credentials to everyone on your network and accomplish similar goals. ... any way to accomplish this with logon/logoff script. ...
    (microsoft.public.windows.server.scripting)