Re: runas could not execute the copy command
From: Faisal (faisal_qasimpk_at_yahoo.com)
Date: 06/23/04
- Next message: Rob Stow: "Re: Using ZIP Drive for emergency disk"
- Previous message: Faisal: "Re: runas could not execute the copy command"
- In reply to: Rick: "Re: runas could not execute the copy command"
- Messages sorted by: [ date ] [ thread ]
Date: 23 Jun 2004 00:23:02 -0700
Fortunately found the solution, thanks:
C:\>runas /user:clas@domain /env "cmd /c dir"
Regards
"Rick" <me@privacy.net> wrote in message news:<OLm8U1GWEHA.3524@TK2MSFTNGP12.phx.gbl>...
> "Faisal" <faisal_qasimpk@yahoo.com> wrote in message news:d55ce0a6.0406220718.48340f13@posting.google.com...
> > 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.
>
> Is the file in the current folder? If not, you'll need to qualify the
> copy command, i.e. "copy <drive>:\<folder>\payment_initiation".
>
> Rick
- Next message: Rob Stow: "Re: Using ZIP Drive for emergency disk"
- Previous message: Faisal: "Re: runas could not execute the copy command"
- In reply to: Rick: "Re: runas could not execute the copy command"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|