I just moved applications from WindowsXp to Windows7. I am launching several applications through the configuration of the Eclipse startup configuration manager.
Most applications access a samba mount / network drive using a UNC path. With this approach, the path is displayed because "the directory does not exist." If I run the application from Windows Explorer, the application works fine.
I am sure this is due to the new Windows7 security model. I was just curious if there is a way to run my application like in WindowsXP.
Here is a sample approach:
new File("\\\\myserver\\myFile.txt").exists();`
If I run the code from the main application through Eclipse, it will return βtrueβ on windowsXP and false on Windows 7.
I need it to exist for Windows 7.
INSIDE CONCLUSIONS, THIS DOES NOT WORK. But running OUTSIDE OF eclipse, say, through Windows Explorer, it works fine. In addition, Eclipse works as an administrator.
source share