Page 1 of 1

VIRTUAL BOX Path

PostPosted: Mon Nov 27, 2017 12:56 pm
by S0nz
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.

Re: VIRTUAL BOX Path

PostPosted: Tue Nov 28, 2017 11:34 am
by Enigma
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?

Re: VIRTUAL BOX Path

PostPosted: Tue Nov 28, 2017 3:29 pm
by S0nz
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

Re: VIRTUAL BOX Path

PostPosted: Wed Nov 29, 2017 9:00 am
by Enigma
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\"