--- title: "DJFScanProc" slug: "djpscanproc" updated: 2022-02-14T20:31:23Z published: 2022-02-14T20:31:23Z canonical: "docs.datajet.app/djpscanproc" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # DJFScanProc ## Overview [DJFScanProc 4.2.15.1.zip](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/DJFScanProc%204.2.15.1.zip) Scan a directory for files and process a script when found launched as DJFScanProc "path of ini file" ## INI File two forms, embedded script or referenced script ```json { "company": "datajetsoftware", "username": "admin", "password": "", "scanDirectory": "path to scan ends in /", "scanExtension": "xlsx", "processedDirectory": "path to processed files, ends in/", "to": [ "someone@mail.com" ], "scriptName": "StoredScriptName", "projectName": "StoreScriptProject", "targetProject": "NameOfProjectToCreate" } ``` in the embedded form, the entire script is included ```json { "company": "datajetsoftware", "username": "admin", "password": "", "scanDirectory": [path]/", "scanExtension": "xlsx", "targetProject": "MyProject", "processedDirectory": "[path]/", "to": [ "someone@email.com" ], "script": [ ] } ``` In both cases, the process will override the two defined variables %INFILE% and %OUTFILE% with the path of the scanned file and the path of the produced file. A log will also be written to the process directory and will be emailed to everyone in the "to" list.