panzi / u4pak

unpack, pack, list, check and mount Unreal Engine 4 .pak archives
506 stars 142 forks source link

Unsure if the .bat file was created correct.. #41

Closed AeptaX closed 3 years ago

AeptaX commented 3 years ago

Hi, I created a .bat file, but when I start it, it immediately closes. So I'm not sure what the problem is.

My "Code" for the .bat file:

C:\Users\sandr\AppData\Local\Microsoft\WindowsApps\python.exe C:\Users\sandr\Desktop\u4pak-master\u4pak.py pack --verbose C:\Users\sandr\Desktop\u4pak-master\FortniteGame

-> FortniteGame is the File that I want to pack (My files will always be named like this)

I would really appreciate it if there's anyone that can help me.

panzi commented 3 years ago

In order for the window not to close you need to put pause as the last line of the file. Then the window is kept open until you press any key.