offscan.ini for OMPM not Accepting Subdir

F

funnybroad

I want to run offscan.exe on some files on a share, but on only one subfolder
in that share.

I have mapped drive Z: to the share, and I have edited the offscan.ini as
follows:

[FoldersToScan]
Folder=Z:\PCTRL

However, I cannot get offscan.ini to only scan the files in Z:\PCTRL... it
keeps scanning the entire share from the root.

Does anyone know how to fix this?

Here's the contents of the entire offscan.ini:

[Run]
;Run ID is a unique ID for this distribution of the scan.
RunID=1001
;Description can be used to describe any extra info about the Run. I.E.
Month/Year
Description="This is a test run of the OMPM Scanner."

[Scan]
;DestinationPath: the path where the log files will be written to
DestinationPath=C:\OMPM\SCANDATA

;ScanMyDocuments: if set to 1, the users' redirected My Documents folder
will be scanned
; if set to 0, only local folders will be scanned
ScanMyDocuments=0

;ScanDesktop: if set to 1, the users' redirected Desktop will be scanned
; if set to 0, only local folders will be scanned
ScanDesktop=0

;DeepScan: if set to 1, file properties and conversion issues will be logged
; if set to 0, file properties will be logged
DeepScan=1

;CABLogs: if set to 1, XML log files will be compressed into CAB files
; if set to 0, XML log files will be written separately
CABLogs=1

;Verbose: if set to 1, every file logged will be printed to the console
Verbose=1

;Recovery: if set to 1, the scanner will attempt to restart a failed scan
when the scanner is run again
Recovery=1

;LogOutPut: if set to 1, the output to the console will also be written to a
file.
LogOutput=1

;Include all folders you want to be scanned in the FoldersToScan section
;Any folders you want to be skipped should be added to the FoldersToExclude
section
;You may include a folder that is a subfolder of one of the folders to exclude
;If there is no entry in this section all physical local drives are scanned.
;The scan stops if a specified folder to scan does not exist on the system.
[FoldersToScan]
;Folder=C:\
;Folder=\\server\share
Folder=Z:\PCTRL
;The scan stops if a specified folder to exclude does not exist on the system.
[FoldersToExclude]
;Folder=c:\private
;folder=\\server\share\private

;If you are scanning over a network, use the Network section to retry on
some limited errors.
;If a retry is not successful, an error is logged and the scan continues
[Network]
RetryCount=10 ;set this to the number of reties per file you would like
before moving on
RetryInterval=1000 ;set this to the number of milliseconds to wait between
retries.
RetryTimeout=10 ;set this to how many sequential files to retry before
aborting the scan. Use 0 to represent infinity.

;The following are the file types that the scanner will do a deep scan on.
The scanner finds the
;files by the extension. If there are additional file extensions to scan,
they can be added to the
;appropriate list.

[Access]
Ext=mdb,mde,mdz,adp,ade,mdt,mda,accda,accdb,accdr,accdu,accde,accdt,accdc
ScanDAO=1
AccessScan=0
DisableConvDialog=0
MaxCopyFileSize=0
TempPath=

[Excel]
Ext=xls,xlt,xla,XLC,XLM

[PowerPoint]
Ext=ppt,pot,pps,ppa

[Project]
Ext=mpp,mpt

[Publisher]
Ext=pub

[Visio]
Ext=vsd,vss,vst,vdx,vtx,vsx

[Word]
Ext=doc,dot,wiz
 
F

funnybroad

I figured it out:

If you set Recovery=1, it doesn't whether or not you delete the xml files
created under SCANDATA, or if you modify the .ini file... it will somehow
magically pick up where it left off on the last scan you ran.

funnybroad said:
I want to run offscan.exe on some files on a share, but on only one subfolder
in that share.

I have mapped drive Z: to the share, and I have edited the offscan.ini as
follows:

[FoldersToScan]
Folder=Z:\PCTRL

However, I cannot get offscan.ini to only scan the files in Z:\PCTRL... it
keeps scanning the entire share from the root.

Does anyone know how to fix this?

Here's the contents of the entire offscan.ini:

[Run]
;Run ID is a unique ID for this distribution of the scan.
RunID=1001
;Description can be used to describe any extra info about the Run. I.E.
Month/Year
Description="This is a test run of the OMPM Scanner."

[Scan]
;DestinationPath: the path where the log files will be written to
DestinationPath=C:\OMPM\SCANDATA

;ScanMyDocuments: if set to 1, the users' redirected My Documents folder
will be scanned
; if set to 0, only local folders will be scanned
ScanMyDocuments=0

;ScanDesktop: if set to 1, the users' redirected Desktop will be scanned
; if set to 0, only local folders will be scanned
ScanDesktop=0

;DeepScan: if set to 1, file properties and conversion issues will be logged
; if set to 0, file properties will be logged
DeepScan=1

;CABLogs: if set to 1, XML log files will be compressed into CAB files
; if set to 0, XML log files will be written separately
CABLogs=1

;Verbose: if set to 1, every file logged will be printed to the console
Verbose=1

;Recovery: if set to 1, the scanner will attempt to restart a failed scan
when the scanner is run again
Recovery=1

;LogOutPut: if set to 1, the output to the console will also be written to a
file.
LogOutput=1

;Include all folders you want to be scanned in the FoldersToScan section
;Any folders you want to be skipped should be added to the FoldersToExclude
section
;You may include a folder that is a subfolder of one of the folders to exclude
;If there is no entry in this section all physical local drives are scanned.
;The scan stops if a specified folder to scan does not exist on the system.
[FoldersToScan]
;Folder=C:\
;Folder=\\server\share
Folder=Z:\PCTRL
;The scan stops if a specified folder to exclude does not exist on the system.
[FoldersToExclude]
;Folder=c:\private
;folder=\\server\share\private

;If you are scanning over a network, use the Network section to retry on
some limited errors.
;If a retry is not successful, an error is logged and the scan continues
[Network]
RetryCount=10 ;set this to the number of reties per file you would like
before moving on
RetryInterval=1000 ;set this to the number of milliseconds to wait between
retries.
RetryTimeout=10 ;set this to how many sequential files to retry before
aborting the scan. Use 0 to represent infinity.

;The following are the file types that the scanner will do a deep scan on.
The scanner finds the
;files by the extension. If there are additional file extensions to scan,
they can be added to the
;appropriate list.

[Access]
Ext=mdb,mde,mdz,adp,ade,mdt,mda,accda,accdb,accdr,accdu,accde,accdt,accdc
ScanDAO=1
AccessScan=0
DisableConvDialog=0
MaxCopyFileSize=0
TempPath=

[Excel]
Ext=xls,xlt,xla,XLC,XLM

[PowerPoint]
Ext=ppt,pot,pps,ppa

[Project]
Ext=mpp,mpt

[Publisher]
Ext=pub

[Visio]
Ext=vsd,vss,vst,vdx,vtx,vsx

[Word]
Ext=doc,dot,wiz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top