Simple CopyFile



In my batch file I have

FileSystemObject.CopyFile "k:\data\dbdata\timedata\employee.dbf",
"k:\data\dbdata\employee.dbf"


This line give the following error:

'FileSystemObject.CopyFile' is not recognized as an internal or external
command, operable program or batch file.

What am I doing wrong?

Thanks.


.



Relevant Pages

  • Re: Limited accounts wont do the job
    ... >> an internal or external command, operable program or batch file". ... >>> accounts to have overall ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Running Scripts vs Interactive mode
    ... 'python' is not recognized as an internal or external command, ... operable program or batch file. ...
    (comp.lang.python)
  • Re: log off command
    ... I simply execute the batch file and let them play... ... If it's by the hour you don't need a script. ... You can logoff a sessionname or a session ID in each case you have to ... Is it possible to issue the command from user1's logon to logoff ...
    (microsoft.public.windowsxp.basics)
  • Re: log off command
    ... I simply execute the batch file and let them play... ... If it's by the hour you don't need a script. ... You can logoff a sessionname or a session ID in each case you have to ... Is it possible to issue the command from user1's logon to logoff ...
    (microsoft.public.windowsxp.basics)
  • Re: log off command
    ... SOON 3600 LOGOFF %ID2% ... If it doesn't work please post what the "at" command returns if you run it ... after the batch file and please again describe when it does not work. ... Matija Hrovat ...
    (microsoft.public.windowsxp.basics)