PC Review


Reply
Thread Tools Rate Thread

Close open file

 
 
Mario Pflucker
Guest
Posts: n/a
 
      13th Nov 2003
Is there a way to close all open connections to a file at once? I can do it
one at the time from the computer management / shared folders / open files
screen, but it is very time consuming, since these are network applications.

Thanks,

MP


 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      13th Nov 2003
for /f "skip=4,tokens=1" %q in ('net file') do (net file %q /close)

Ray at work

"Mario Pflucker" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a way to close all open connections to a file at once? I can do

it
> one at the time from the computer management / shared folders / open files
> screen, but it is very time consuming, since these are network

applications.
>
> Thanks,
>
> MP
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Encrypt File / Decrypt File / Open/Close PSD JAH Windows Vista General Discussion 2 29th Apr 2008 01:28 PM
Close & save a file at set time only IF the file is open Clivey_UK Microsoft Excel Programming 2 1st May 2006 06:19 PM
OPen and close file =?Utf-8?B?QWx2aW4gSGFuc2Vu?= Microsoft Excel Programming 5 25th Jan 2005 01:01 PM
VBA - on a button event, open another closed file, post changes, close file Fio Microsoft Excel Programming 0 1st Mar 2004 01:08 PM
Automate open file, update links, run macro, close and save file Geoff Microsoft Excel Programming 2 26th Aug 2003 10:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 PM.