To me, actions are far easier to make than scripts (i'm just averse to coding, when I can help it). Unfortunately, my Quick Export doesn't work in an action (on my Mac - haven't checked on a Windows machine), so you'd create an action that Opens files and exports via the Save for Web- Legacy and choose the PNG settings you want. Then, record the Save option (you'll change the save to location in the next step. If you don't need transparency, you can just use Save As, and select the PNG format and Save. Then, you'd go to File>Automate>Batch - Select your action. Choose the .psd file folder you want to convert, check all the boxes on that left side (so it can run without you being there). On the right, you'd choose a Save Destination and a method of naming. I find it very important to change Errors to Save to File, so it'll run through any errors and report back, instead of stopping. Then you just hit "OK" and walk away... For more information on making actions, if you need, you may want to check out Create actions in Adobe Photoshop
... View more