Distant Posted May 8, 2012 Share Posted May 8, 2012 At my place of business, employees scan in documents that have confidential (HIPAA) information. These files get attached to a chart that gets sent to the state. Problem is that the .pdf scans reside on the computer and users don't always delete them which is a security risk. Anyone have any creative ideas or know of software to delete .pdf files that sit in certain folders? Link to comment Share on other sites More sharing options...
0 -Alex- Posted May 8, 2012 Share Posted May 8, 2012 Logon script/batch script on startup/batch script on a scheduled task. Link to comment Share on other sites More sharing options...
0 rfirth Posted May 8, 2012 Share Posted May 8, 2012 At my place of business, employees scan in documents that have confidential (HIPAA) information. These files get attached to a chart that gets sent to the state. Problem is that the .pdf scans reside on the computer and users don't always delete them which is a security risk. Anyone have any creative ideas or know of software to delete .pdf files that sit in certain folders? Schedule a task to run a script. Write a short, simple script that deletes .pdf files from those folders. http://windows.microsoft.com/en-us/windows7/Schedule-a-task Link to comment Share on other sites More sharing options...
0 deactivated_ Posted May 8, 2012 Share Posted May 8, 2012 (edited) Auto-run batch script that does: del locationoffiles/*.pdf ? or something a little more advanced that only deletes files over a certain number of days (example below is 2 two weeks) forfiles /p c:\locationoffiles /s /m *.pdf /d -14 /c "CMD /C DEL @file /Q /F" >> c:\somelocation\filesdeleted_log.txt Edit: Flags used: /p ? starting directory /s ? include sub-directories /m ? wildcard to search /d ? date range to work on, uses modified date so -14 is older than 14 days Del: /q - quiet, don?t prompt for confirmation /F ? force delete read only files Link to comment Share on other sites More sharing options...
0 +InsaneNutter MVC Posted May 8, 2012 MVC Share Posted May 8, 2012 Set a default scan folder, then create a batch script to delete everything in that folder once a day. That's what we do at work, anything the scanner scans is auto saved on to the server. The folder is then emptied at 2am each day. Link to comment Share on other sites More sharing options...
0 Distant Posted May 8, 2012 Author Share Posted May 8, 2012 Awesome, thanks for the quick response on this guys. Link to comment Share on other sites More sharing options...
0 Geoffrey B. Veteran Posted May 8, 2012 Veteran Share Posted May 8, 2012 Logon script/batch script on startup/batch script on a scheduled task. that was going to be my suggestion. Link to comment Share on other sites More sharing options...
Question
Distant
At my place of business, employees scan in documents that have confidential (HIPAA) information.
These files get attached to a chart that gets sent to the state.
Problem is that the .pdf scans reside on the computer and users don't always delete them which is a security risk.
Anyone have any creative ideas or know of software to delete .pdf files that sit in certain folders?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts