Cannot run windows programs from shared folder.

Discussions about using Windows guests in VirtualBox.
Post Reply
jcdole
Posts: 95
Joined: 3. May 2013, 18:25
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WIN 7, WIN 10
Location: South west of france

Cannot run windows programs from shared folder.

Post by jcdole »

Hosts : opensuse 13.2
Guest : windows 7 pro 32 bits
Virtualbox : last release 4.3.28
Guest addition : last release.

Shared folders are configured in VM manager with full access but not mounted.

I mount 4 shared folder in a script run by windows in startup folder.

Code: Select all

net use  G:  \\vboxsrv\win_echange 
I can copy, move, delete directories or programs with microsoft explorer.
Within the console, I cant edit text file in g:\some_dir\some_file.txt

Code: Select all

notepad g:\some_dir1\some_dir2\some_file1.txt
but I can't run any exe file

Code: Select all

g:\some_dir1\some_dir2\some_file2.exe
even in the directory

Code: Select all

g:
cd  g:\some_dir1\some_dir2
some_file2.exe
I got :
g:\some_dir1\some_dir2\some_file2.exe
Path not found
Retry with correct path.
Any help is welcome.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Cannot run windows programs from shared folder.

Post by noteirak »

Moved to "Windows Guests"
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Cannot run windows programs from shared folder.

Post by mpack »

Try creating a true network share, see if it works with that.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Cannot run windows programs from shared folder.

Post by ChipMcK »

jcdole wrote:but I can't run any exe file
Is there a .zone file accompanying the .exe file?
If so, the host is not a trusted site, in opinion of windows
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Cannot run windows programs from shared folder.

Post by mpack »

ChipMcK wrote:
jcdole wrote:but I can't run any exe file
Is there a .zone file accompanying the .exe file?
If so, the host is not a trusted site, in opinion of windows
The OP seems to be saying that he can run the software from Windows Explorer, but not from the command line. If that's is correct then it doesn't seem to be a permissions problem, unless the console is run as a different user.

I'm assuming that "I can't edit text" is a typo and meant "I can edit text", since otherwise the next line "but I can't ..." doesn't make sense.
Post Reply