VIRTUAL BOX Path

Issues related to Enigma Virtual Box
Post Reply
S0nz
Posts: 3
Joined: Mon Nov 27, 2017 12:54 pm

VIRTUAL BOX Path

Post by S0nz » Mon Nov 27, 2017 12:56 pm

I made an exe by batch that copies the .txt file to a folder. So Desktop/Test.txt to C:/Test

If i packef with virtual box, how do i find the Test.txt?

Best Regards.

Enigma
Site Admin
Posts: 2400
Joined: Wed Aug 20, 2008 2:24 pm

Re: VIRTUAL BOX Path

Post by Enigma » Tue Nov 28, 2017 11:34 am

That's difficult to help, can you please explain what you do more detailed? I just do not understand what you are doing.

PS: maybe you need a virtual path that is equal to Desktop folder?

S0nz
Posts: 3
Joined: Mon Nov 27, 2017 12:54 pm

Re: VIRTUAL BOX Path

Post by S0nz » Tue Nov 28, 2017 3:29 pm

Enigma wrote:That's difficult to help, can you please explain what you do more detailed? I just do not understand what you are doing.

PS: maybe you need a virtual path that is equal to Desktop folder?
Thank you for your fast reply.

So i made a program copy a file from the same location as the Program. To another location

So once i start the program in "Desktop/Program/Launcher.exe" the program Copies the file "Logins.txt" to path "C:\Testing\"

If i pack the Logins.txt & Launcher.exe with Virtual Box. The Launcher.exe cannot find Logins.txt if i remove the Logins.txt from the folder.

-

I have tried to do:
copy "Desktop\Program\Logins.txt" "C:\Testing\" - Not working
copy "%DEFAULT FOLDER%\Logins.txt" "C:\Testing\" - Not working

Enigma
Site Admin
Posts: 2400
Joined: Wed Aug 20, 2008 2:24 pm

Re: VIRTUAL BOX Path

Post by Enigma » Wed Nov 29, 2017 9:00 am

Since you are using the folder of the application itself, you need to put txt file in %DEFAULT FOLDER% of Enigma Virtual Box and change the batch to copy ".\Logins.txt" "C:\Testing\"

Post Reply