TOP
TIPS - September 2007
How to split pdf files dropped
in to a folder.
Products required are:
Split PDF
1. extract the above to C:\WinSplitPDF
2. edit in notepad: C:\WinSplitPdf\run.bat and add the following:
echo off
rem echo *** Clear output directory
rem del /q .\out\*.*
echo **** Processing
cd test1
for %%a in (*.pdf) do ..\split.bat %%a
This will scan all files in C:\WinSplitPdf\test1 folder and then run
split.bat on them and output to C:\WinSplitPdf\out folder.
3. edit in notepad: C:\WinSplitPdf\split.bat and add the
following:
cd ..
rem *** split files ***
cd test1
..\splitpdf.exe "%1" -o"..\out\out-%1" -s1s
del /q "%1"
cd ../test1
4. create test1 folder, create out folder, copy a PDF file to
test1 folder, run run.bat (double click to run)
5. you can then optionally schedule this script to run every n
seconds/mins/hours using the windows task scheduler.