• Post Reply Bookmark Topic Watch Topic
  • New Topic

open a file located on server  RSS feed

 
nabou diack
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I'm trying to open a file located on my server. My server's name is omni
this works when i want to open a file located on my computer :
Runtime.getRuntime().exec("cmd /c start c:"+File.separator+"sdiack"+File.separator+"java"+File.separator+"timesheetserver"+File.separator+"feuilledetemps.html");}
this does not work when i try to open a file located on server omni :
Runtime.getRuntime().exec("cmd /c start omni:"+File.separator+"test"+File.separator+"files"+File.separator+"dir1"+File.separator+"file1.html");}

Please help! thanks
 
nabou diack
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a way . thanks
 
jacq carballo
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you share you solution, please.
tia
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!