Ghost-Hackers / sph-report-cleanup

This batch file is designed to be used with Synxis Property Hub reports which have been downloaded as PDF for printing. The indicated reports tend to stack up over time and litter the downloads folder unnecessarily.
GNU Affero General Public License v3.0
1 stars 0 forks source link

Batch script failing and crashing #1

Open Ghostridr opened 8 months ago

Ghostridr commented 8 months ago

Bug Information

Script is crashing

When running the .bat file it will sometimes crash while getting admin perms. It will sometimes open additional cmd.exe windows as well. It might make it to updating before failing.

To Reproduce

All that's happening is it fails when running the script. It never makes it through the entire process.
List the steps to reproduce the behavior:

  1. Go to directory: 'path/'
  2. Click on file: 'sph-report-cleanup.bat'
  3. Open file
  4. See error at various random locations
Example of a snippet: A snippet is a block of code inside three backticks. The first line of the snippet should be the language of the snippet. This snippet is written in Python. The snippet should be indented by four spaces. The snippet should be placed inside a details tag. The summary tag should be used to provide a description of the snippet. The summary tag should be placed directly after the details tag. The summary tag should be closed with a closing tag. The details closing tag should be placed directly after the snippet.
```python def example(): print("This is an example of a snippet.") ```

Expected behavior

Expected to update dependencies or install any missing and then proceed to search for files to remove.

Screenshots

N/A

Device Information

Desktop (please complete the following information):

  • OS: Windows 10

Additional Information

Additional context

N/A

github-actions[bot] commented 8 months ago

Thank you for submitting your issue. We greatly appreciate your assistance!