"New Folder and Files Become Virtual" setting does not work
Posted: Mon Mar 20, 2023 3:50 am
I am trying to create a packed application which behaves as follows:
When the exe is run it can create files and folders inside of the directory where the exe is run from, but those files and folders will not appear in the real file system, they will only be created in memory and be visible to the exe.
I tried to make this with enigma virtual box as follows:
input file: C:\Windows\SysWOW64\cmd.exe
output file: C:\Users\User\Desktop\TEST_FOLDER\cmd_test.exe
I created "%DEFAULT FOLDER%" inside virtual box files and set its properties to "New Folder and Files Become Virtual"
under the storage tab>"save changes of virtual files to" box is NOT CHECKED
I clicked process to create cmd_test.exe
Then I ran cmd_test.exe and the cmd shell box appeared.
Then I ran command "md test" and it created a folder called "test", however this folder was created in the real file system.
I ran the command "echo hi>out.txt" and the file out.txt was created in the real file system.
How can I create cmd_test.exe such that it does not create files and folders in the real file system?
Thanks
I have tested this on:
windows 10 21H2 19044.2075
windows 10 22H2 19045.2728
I have attached my project file for this.
When the exe is run it can create files and folders inside of the directory where the exe is run from, but those files and folders will not appear in the real file system, they will only be created in memory and be visible to the exe.
I tried to make this with enigma virtual box as follows:
input file: C:\Windows\SysWOW64\cmd.exe
output file: C:\Users\User\Desktop\TEST_FOLDER\cmd_test.exe
I created "%DEFAULT FOLDER%" inside virtual box files and set its properties to "New Folder and Files Become Virtual"
under the storage tab>"save changes of virtual files to" box is NOT CHECKED
I clicked process to create cmd_test.exe
Then I ran cmd_test.exe and the cmd shell box appeared.
Then I ran command "md test" and it created a folder called "test", however this folder was created in the real file system.
I ran the command "echo hi>out.txt" and the file out.txt was created in the real file system.
How can I create cmd_test.exe such that it does not create files and folders in the real file system?
Thanks
I have tested this on:
windows 10 21H2 19044.2075
windows 10 22H2 19045.2728
I have attached my project file for this.