# Help! Bat file problem

**URL:** <https://forum.freecodecamp.org/t/help-bat-file-problem/161744>\
**Category:** General\
**Created:** [December 1, 2017, 9:45am UTC](https://forum.freecodecamp.org/t/help-bat-file-problem/161744 "2017-12-01T09:45:00Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Cypherstick](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Cypherstick](https://forum.freecodecamp.org/u/Cypherstick)\
**Post date:** [December 4, 2017, 1:10pm UTC](https://forum.freecodecamp.org/t/help-bat-file-problem/161744/9 "2017-12-04T13:10:39Z")

</div>

Resolved the black screen issue i now run it as  
psexec \PCNAME -s -i C:\Users\User1\Documents\pptautorun.bat  
pause

no idea why this has worked but it does, but now it comes up with a pop up saying that Powerpoint cannot read the file, but when i tested the .BAT file that i have on the local machine it opens up the .ppsm with no issues.

and now im stuck again

---

_[View the full topic](https://forum.freecodecamp.org/t/help-bat-file-problem/161744)._
