What a great idea Thad,
I would have never thought of redirecting the output. Thats been a pain in
my side for 10 years.
Thanks alot
Jeremy
-----Original Message-----
From: Thad Jacobs [mailto:tjacobs@...]
Sent: Tuesday, February 12, 2002 11:26 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] OFFTOPIC: FORCE DISCONNECT NETWORK DRIVES
The /Y switch forces a yes for many DOS batch file commands. We also
redirect the output so no messages are displayed on screen.
Example:
net use w: /delete /y >nul
-----Original Message-----
From: Fausto Filippi [mailto:ffilippi@...]
Sent: Tuesday, February 12, 2002 8:20 AM
To: 'vantage@yahoogroups.com'
Subject: [Vantage] OFFTOPIC: FORCE DISCONNECT NETWORK DRIVES
Sorry, this is a bit off topic, but I thought somebody might know the answer
to this question.
Currently I use the following to delete a network drive in my logon script:
@net use R: /DELETE
On the odd occasion, it may ask for user intervention, saying that the drive
has files open are you sure you want to disconnect [Y/N].
What parameter can I add so that it disconnects the drive without any user
interaction?
Thanks,
Fausto
[Non-text portions of this message have been removed]
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
I would have never thought of redirecting the output. Thats been a pain in
my side for 10 years.
Thanks alot
Jeremy
-----Original Message-----
From: Thad Jacobs [mailto:tjacobs@...]
Sent: Tuesday, February 12, 2002 11:26 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] OFFTOPIC: FORCE DISCONNECT NETWORK DRIVES
The /Y switch forces a yes for many DOS batch file commands. We also
redirect the output so no messages are displayed on screen.
Example:
net use w: /delete /y >nul
-----Original Message-----
From: Fausto Filippi [mailto:ffilippi@...]
Sent: Tuesday, February 12, 2002 8:20 AM
To: 'vantage@yahoogroups.com'
Subject: [Vantage] OFFTOPIC: FORCE DISCONNECT NETWORK DRIVES
Sorry, this is a bit off topic, but I thought somebody might know the answer
to this question.
Currently I use the following to delete a network drive in my logon script:
@net use R: /DELETE
On the odd occasion, it may ask for user intervention, saying that the drive
has files open are you sure you want to disconnect [Y/N].
What parameter can I add so that it disconnects the drive without any user
interaction?
Thanks,
Fausto
[Non-text portions of this message have been removed]
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/