Hello all,
when I add an external file (embedded file) in the EXE file, during the execution it appears in a subfolder whose name seems randomly generated (qb...), for eg. :
C:\Users\UserName\AppData\Local\qb1222BDF.E2\my_embedded_file.vbs
or
C:\Windows\Temp\qbDA0163.B1\my_embedded_file.vbs
or
D:\My documents\My projects\qb127BA0E.E8\my_embedded_file.vbs
...Then it is difficult to run the embedded file from the compiled script
My config : Quick Batch File Compiler v. 4.3.0.2 (registered version)
Location of embedded files
Re: Location of embedded files
Use %MYFILES% environment variable to get the path to embedded files.
-
- Posts: 8
- Joined: Tue Oct 09, 2018 12:53 pm
Re: Location of embedded files
Ok, thanks, I will try this !
Re: Location of embedded files
Yes, use %MYFILES% as the path to your embedded file.
-
- Posts: 8
- Joined: Tue Oct 09, 2018 12:53 pm
Re: Location of embedded files
Indeed, it works, thank you @support @hacxx !
For those who would like to run an embedded file from the EXE file (for eg. VBS file):
start "" %MYFILES%"\personal_file.vbs"
For those who would like to run an embedded file from the EXE file (for eg. VBS file):
start "" %MYFILES%"\personal_file.vbs"