How do I add a file to a exe

后端 未结 4 1265
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-25 12:04

I have a program that plays a sound but if I run it on a different computer it says that the file isn\'t found how do I attach the file onto the exe so when someone plays the ex

4条回答
  •  失恋的感觉
    2021-01-25 12:20

    If you cannot change the source code,I suggest

    http://m.instructables.com/id/How-to-create-portable-app/?ALLSTEPS

    It is about creating new exe archive containing old exe+new files you want to merge. When you call that new exe, it runs your old exe, but also contain your music files You can follow step4 and 5

    Put your exe and music files into the same folder and compress them through that method

提交回复
热议问题