Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runtime.getRuntime() problem

Status
Not open for further replies.

joazes

Programmer
Sep 18, 2003
13
BR
Hi all,

Does someone know how to use the "DOS net use command" as Runtime.getRuntime().Exec("")?

I'm experiencing this problem: When I insert "\\" (double slash) it considers only one "\", but when I try to insert three slash ("\\\") it gets error message.
 
Try forward slashes (/). They almost always work on DOS anyway.

_________________
Bob Rashkin
 
Thanks Feherke!!!! Now it's working fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top