delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/10/16:16:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=6.0 required=5.0 tests=AWL,BAYES_20
X-Spam-Check-By: sourceware.org
X-MXL-Hash: 4c8a921c5f09486b-44a92ed6f9d6895b3a658b1363bd074d50e02e52
From: "Conway, Timothy" <Timothy DOT Conway AT jbssa DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 10 Sep 2010 14:15:33 -0600
Subject: RE: quick way to find out if a file is in use by windows?
Message-ID: <2D3A1913B8E5264CA1FE965AFEB209D51432FA0311@USCOGR00EXC4AI.global.corp.prod>
References: <20100910145619 DOT GA29101 AT calimero DOT vinschen DOT de>
In-Reply-To: <20100910145619.GA29101@calimero.vinschen.de>
MIME-Version: 1.0
X-MAIL-FROM: <timothy DOT conway AT jbssa DOT com>
X-AnalysisOut: [v=1.0 c=1 a=4CQSkA1wgxYA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel]
X-AnalysisOut: [0A:10 a=xqWC_Br6kY4A:10 a=VGGvZi2svHTA78JB6+TOvQ==:17 a=71]
X-AnalysisOut: [SRHOG4AAAA:8 a=27QJjv-MyJyRmpG8BUsA:9 a=_3Yy-wvAJoLIAWlJmH]
X-AnalysisOut: [i9BnCSbgcA:4 a=CjuIK1q_8ugA:10 a=MNrPwEV1wSAA:10 a=n3ST9ka]
X-AnalysisOut: [eS9YA:10 a=I-wNSGmWxIUA:10 a=9A_hEV50aA0A:10]
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> Is there any way to detect if a file is in use by windows before=20
> executing 'mv' (I really, really hope I don't have to use the=20
> 'handle.exe' utility, which takes seconds for each file...)?

fuser


73,
Tim Conway
JBS USA | 1770 Promontory Ci | Greeley, CO 80634| USA
Direct: 970-506-7998  | Fax: 970.336.6195
email: Timothy DOT Conway AT jbssa DOT com
JBS Server Team

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019