The PalmScan commandline consists of:
PALMSCAN.EXE [FileSpecs|@ListFile|Command] <Options>
[..] is mandatory
<..> is optional
[FileSpecs] must be valid DOS file-specifications. At least one
should be given, up to 30 can be given.
File-specifications can be either filenames or
directories. In the last case, all files in that
directory will be processed.
Example : PalmScan *.ZIP
[@ListFile] Instead of (a) file-specification(s), you can also use a
listfile. This listfile should contain valid
file-specifications (see above). PalmScan will process
all file-specifications in the listfile (there is no
maximum size for the listfile!). The file-specifications
should be placed on the first part of each line,
2everything behind it will be ignored.
Example listfile:
d:\files\upload This is the upload directory
d:\files\incoming This is the incoming files directory
In this example, all files in the directory's
d:\files\upload and d:\files\incoming, will be processed
(except for those files configured with the SkipFile
keyword in the PalmScan configuration). The comments
behind the directory's will be ignored.
You can also use FLSEARCH.CTL (QuickBBS format) with
this option.
Example : PalmScan @C:\BBS\FLSEARCH.CTL
[Command] :
/FDBmaint<areanr<-areanr>>
Usage : Run Ezycom/RemoteAccess/Concord file-database
maintenance. PalmScan will first search the
file-database for files which have not been processed,
and place them in a file called FILEINFO.FIX. After
that, the PalmScan FileInfo system will take over and
those files will be processed. Files will be converted
to the archiver configured in the file-area
configuration. When no archiver is configured for an
area, PalmScan will not process files in that area.
(Except for Concord, at this moment no archiver can be
configured in the file-area configuration so all areas
will be processed).
When running with Ezycom or Concord, PalmScan will use
the checked bit in the file-database to determine wether
a file has been processed or not.
When running with RemoteAccess, PalmScan uses
LASTSCAN.PS in the file-database directory to store the
last time when the FDB maintenance has been run. All
files which have an upload date after the date of that
file will be processed.
When running with Concord, PalmScan will only do virus-
scanning when that's configured in the file-area
configuration.
<areanr-<areanr>> The area numbers which should be
processed. A range of areas can be
given here (eg. 10-20) or just one
area can be given.
When no area number is specified,
PalmScan will process all areas
which have a destination archiver
configured.
Any file specifications given on the commandline will be
used to determine wether a file should be processed or
not.
Option : /All Process all files in the specified areas, even
if they have already been processed.
Example : PalmScan.Exe /L /FDBMAINT50-99 /ALL *.ARJ
- This will process all *.ARJ files which are in the
file-database in areas in the range 50 to 99 which
have a destination archiver configured in the file-
area configuration.
/Fix<+>
Usage : Use the PalmScan FileInfo system. This system
accomplishes an enhanced communication between PalmScan
and programs using PalmScan. When using /FIX, PalmScan
will use the FileInfo system in Read-Only mode, the
FileInfo file (FILEINFO.FIX) will be deleted when all
files have been processed.
When using /FIX+, PalmScan will use the FileInfo system
in Read/Write mode. PalmScan will update the FileInfo
file with some information that can be used by the
program which is calling PalmScan.
Technical information about the FileInfo system can be
found in FILEINFO.INC, which is included in the PalmScan
package.
<options> :
/L
Usage : Local operation. When this switch is NOT used, PalmScan
will search for DOOR.SYS and/or DORINFO?.DEF to get the
user information from.
/C[configuration-filename]
Usage : By default, PalmScan will search for it's configuration
file in the same directory where PALMSCAN.EXE is placed,
with the filename PALMSCAN.CFG. With this commandline
option, you can tell PalmScan to use an alternate
configuration file.
Example : /Cc:\palmscan\afixpalm.cfg
/D[dorinfo-filename]
Usage : When your BBS-package creates a DORINFO file with a
filename that can't be found by searching for
DORINFO?.DEF (ie. Ezycom can create DORINF85.DEF for
line 85), you can specify this filename here.
Example : /Ddorinf85.def
/N[node]
Usage : When the node number is specified with this commandline
option, PalmScan's multi-line support is enabled. This
makes sure that PalmScan will run without problems when
running on more nodes at the same time on multi-node
systems.
This commandline option is required when using the
EzyFileID configuration keyword.
/NoConversion
Usage : When this option is used, no archiving will be done at
all. This means that no archive will be converted, there
won't be any file removal or file adding, no music
modules will be described, and the archive header will
not be updated. This can be especially useful for
running PalmScan as online virus scanner (when the
archive conversion is done in an event), or for just
updating file descriptions in FILES.BBS with the
'FileID' keyword used.
/T[archiver]
Usage : Override the configured destination archiver.
When no archiver is configured in the PalmScan
configuration, PalmScan will only convert the main
archives, no embedded archives. When there is an
archiver configured in the PalmScan configuration, those
settings will be used for SFX/Secure/Embedded archives.
When used when running the file-database maintenance,
PalmScan will still only process those areas which have
a destination archiver configured (in the
Ezycom/RemoteAccess file-area configuration). This
commandline option does override that configured
archiver, though.
Example : /TARJ
Note : This option is available in the registered version only.
/NoFDB
Usage : Temporary disable the file-database support.
Note : This option is available in the registered version only.
/NoFilesbbs
Usage : Temporary disable the files.bbs support.
Note : This option is available in the registered version only.
/S
Usage : When this option is used, PalmScan will search all sub-
directory's of the given file-specifications for files
to be processed. Together with the ProcessListedOnly
configuration keyword, this option can very well be used
to process all files on a bulletin board.
/Unlisted
Usage : When this option is used, PalmScan will only process
files which are not listed in FILES.BBS and/or the
RemoteAccess/Ezycom/Concord file-database. This
commandline option overrides the ProcessListedOnly
configuration keyword.
/Move[Path]
Usage : When a file has been processed and is ok, it can be
moved to another directory.
[Path] The directory where good files will be moved
to.
Note : This option is available in the registered version only.
/NoMove
Usage : Temporary disable the moving of files to the BadPath,
InfectedPath, HackPath, OldPath and BadGifPath. When
needed, PalmScan will exit with an errorlevel instead of
moving any files.
Note : This option is available in the registered version only.
/NoScan
Usage : Temporary disable virus-scanning.
Note : This option is available in the registered version only.
/Mono
Usage : Forces monochrome mode.
/NoCls
Usage : Do not clear the screen at startup.
/NoReg
Usage : Do not display 'Registered to ...' at startup.
Note : This option is available in the registered version only.
/Debug
Usage : This will log some more information on the execution of
external programs (such as virus scanners, archivers,
etc.) and virtually anything which is displayed on the
screen.