php - %%Include{ }%%Error accessing windows share through a Java application -


i developed java application gives access shared folders network.

scenario
application accessing includes search field. accessing file using following code:

try {     file file = new file("//192.x.x.x/asfa/asfa dvd 2000 upto 2015 - q1/cdrun.exe");     desktop dt = desktop.getdesktop();     dt.open(file); } catch (exception e) {     joptionpane.showmessagedialog(null, "unable access remote database, please try after time!!!");     e.printstacktrace(); } 

i have tried (only 1 of these lines @ time):

file file = new file("\\\\server\\asfa\\asfa dvd 2000 upto 2015 - q1\\cdrun.exe"); file file = new file("\\\\192.x.x.x\\asfa\\asfa dvd 2000 upto 2015 - q1\\cdrun.exe"); file file = new file("//server/asfa/asfa dvd 2000 upto 2015 - q1/cdrun.exe"); 

for these above mentioned scenarios, application cdrun.exe opens up(which fine) server, gives error message :
error message

so, few similar posts in so[link1, link2] , googling around, found %%include{ }%%error has path specified. never came solution , error continues show up.

whereas when access application cdrun.exe server itself, runs fine.

any suggestions ?


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -