Re: Delete command in a script..

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Andre Laplume via AccessMonster.com" <forum@xxxxxxxxxxxxxxxxx> wrote
in message news:b3d69e84f00b4219b6155989bfee0aad@xxxxxxxxxxxxxxxxx
> Well it technically is in MSAccess now in a form's VBA...I want to
> get it it out and schedule the delete. Anyway, when I click START
> RUN (as a test) then type del C:\filename....it says: 'Windows can
> not find 'del'...error.

Using cmd.exe, you have to specify the command to be executed with the
/c command-line argument. But to test what you're trying to do, why not
create a .bat file containing the del command, then run that .bat file
using Start -> Run... ?

It works.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


.



Relevant Pages

  • Re: Command-line does work when scheduled
    ... > I want to schedule a Python program that reads the command line for ... when adding an argument to the command line Python ... no problem with running from *.bat file or directly from ...
    (comp.lang.python)
  • Are you australian, I mean, shuting over available peaks?
    ... It will greet the growing cell and reserve it prior to its schedule. ... Plenty of members indirectly sweep the lexical monument. ... Beth never spills until Ikram totals the involved command ... All average violent trusts wickedly ...
    (sci.crypt)
  • AT command
    ... Schedule service is running. ... Specifies a remote computer. ... Cancels a scheduled command. ... Connecting to network drives ...
    (microsoft.public.windows.server.general)
  • AT command
    ... Please can you or anyone else tell me as to what command ... line I should use to schedule a task. ... >redirect output to a file, ... >Connecting to network drives ...
    (microsoft.public.windows.server.general)
  • Re: AT command
    ... It isn't as granular as the at command, as far as I know, but may do ... > line I should use to schedule a task. ... >> Specifies a remote computer. ... >> Connecting to network drives ...
    (microsoft.public.windows.server.general)