[THIN] Re: net use command
- From: Jim Kenzig <jimkenz@xxxxxxxxxxxxxx>
- To: thin@xxxxxxxxxxxxx
- Date: Thu, 31 Oct 2002 10:53:04 -0500
Wouldn't that create a loop if it could not connect?
You'd need a For statement in there for it to try a few times.
JK
-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
Behalf Of Turnhout, D. van (Hoge Raad)
Sent: Thursday, October 31, 2002 10:38 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: net use command
You could try:
:Try_again
timeout 5
net use Q: \\server\share
if NOT exist Q:\. Goto Try_again
-----Original Message-----
From: Minero Hector B DLVA [mailto:MineroHB@xxxxxxxxxxxxx]
Sent: woensdag 30 oktober 2002 20:58
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Re: net use command
I do't think timeout does what I want, which is to try to connect to a
share within a specific time period, say 5 seconds. If it cannot
connect within 5 seconds, just quit and go to
the next line.
timeout 5
net use Q: \\server\share
will not do the job.
Thanks,
Hector-
-----Original Message-----
From: Jim Kenzig [mailto:jimkenz@xxxxxxxxxxxxxx]
Sent: Wednesday, October 30, 2002 2:08 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: net use command
No but you can use the timeout.exe command frome the resource kit in the
batch before you run it http://thethin.net/timeout.zip JK
***********************************************
Visit Jim Kenzig of thethin.net at the
Emergent Online Booth #26 at Citrix Iforum 2002!
Register now at:
http://www.citrixiforum.com/registerNow.html
***********************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link.
http://thethin.net/citrixlist.cfm
Other related posts: