RE: Is there a way to pass a parameter to vbs script file?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Stan (nospam_at_yahoo.com)
Date: 03/30/04


Date: Tue, 30 Mar 2004 08:56:09 -0800

Works great!

There is still one issue, which can be related to Windows Scheduler, and not to the vbscript -
parameter is not being passed to the script file when the file is called from the scheduler.

It works fine from the command line...

Thanks,

-Stan



Relevant Pages

  • Re: Run a VBA Sub using Windows Scheduler?
    ... Windows Scheduler? ... I pull data from our main company database (J.D. ... You can have very simple macro that just uses the RunCode action to run a VBA Function, and invoke that macro from the command line. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Schedule to backup MSDE 2000 to overwrite the previous file
    ... I am try to backup MSDE database with the following command: ... It works, however, once I use windows scheduler to schedule to run the ... it appends to the file instead to overwrite it. ... You need to add the WITH INIT clause to the command to force it to "initialize" the backup file. ...
    (microsoft.public.sqlserver.msde)
  • Automating an Access App launch
    ... I have an Access app that runs a boatload of processing using two ... "Button B" processes all of the imported data from Oracle and produces ... I have not launched Access apps from the command line, ... to so I can put it in Windows Scheduler to run daily while I am on ...
    (comp.databases.ms-access)
  • schedule macro
    ... with windows scheduler on my local and my database on a network; ... cannot get a macro to execute.(run a query and export to a text file using ... it opens up access but the macro does run. ... format in the command line and just "C:\PathToDB\YourDB.mdb" /x NameOfMacro ...
    (microsoft.public.access.macros)
  • schedule macro
    ... with windows scheduler on my local and my database on a network; ... cannot get a macro to execute.(run a query and export to a text file using ... it opens up access but the macro does run. ... format in the command line and just "C:\PathToDB\YourDB.mdb" /x NameOfMacro ...
    (microsoft.public.access.macros)