Run from the command line?
Home
afs:TRADE
Services
Support
About AFS

Q: How do I run an AFS application from the command line?

A: If you try to run an AFS application from the command line, chances are, you will get a database login prompt.  If you want to run an AFS application and not get a prompt, you can pass the application parameters. All AFS applications can be run from the command line and can take command line parameters of the form

    "USER NAME"=myname PASSWORD=mypass

For example, to run the nightly application, you would go to a DOS command shell and type the following:

    Nightly.exe "USER NAME"=admin PASSWORD=theAdminPassword

Note that parameter names with spaces require quotes.

Different AFS application may take other parameters.  See documentation for each application for details.

Back Up Next