Re: runas could not execute the copy command

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


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



Relevant Pages

  • Re: Logging users
    ... grateful if you could set me on the road. ... Rick B wrote: ... by opening a form with the database. ...
    (microsoft.public.access.security)
  • Re: Select case question
    ... Rick (MVP - Excel) ... > Regards, Brett ...
    (microsoft.public.excel.programming)
  • Re: Left + Sum
    ... I skimmed it and thought she was making a joke in response to his tag line. ... Refers to Sandy's currency setting. ... >>> Hi Again Rick, ... >>> Regards, ...
    (microsoft.public.excel)
  • Re: Date Formatting
    ... Regards ... >> Hi Big Rick ... >> Bob is in Dorset, I am in Wales ... >> Roger Govier ...
    (microsoft.public.excel.misc)
  • Re: Windows security patches
    ... For making release images you had to buy XPe tools and to sign some papers. ... Best regards, ... what does a company have to do to qualify for access to the OEM site? ...
    (microsoft.public.windowsxp.embedded)

Loading