473,385 Members | 1,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

developer question on filder cleanup

This is sort of a developer question. I am cleaning up a project by
searching for "obj" in windows explorer search window. It shows many obj
folders. I can delete them one at a time in the search results but if I
select more than one I get "Cannot delete file: Cannot read from the
source file or disk". I can delete any of them singly but not more than
one at time. I don't see this on all systems. What could be wrong?
Jan 4 '06 #1
2 916
Paul,

This is a bit of a guess however perhaps when searching for 'obj' you are
actually finding the obj folders as well as .obj files that exist somewhere
within the directory structure falling within or beneath the obj folders you
are also getting returned by the search. If this were the case, you could
potentially have conflicts when trying to remove both of the in one delete
operation if windows explorer attempts to hold the file lock for the length
of the operation. As I said, I'm just guessing however you might try to limit
your search to return only the top-level directories that have the name 'obj'.

Hope this helps.

-Eric
"Paul" wrote:
This is sort of a developer question. I am cleaning up a project by
searching for "obj" in windows explorer search window. It shows many obj
folders. I can delete them one at a time in the search results but if I
select more than one I get "Cannot delete file: Cannot read from the
source file or disk". I can delete any of them singly but not more than
one at time. I don't see this on all systems. What could be wrong?

Jan 4 '06 #2
No I am only trying to delete folders named obj, bin, release, debug.

Eric Giles wrote:
Paul,

This is a bit of a guess however perhaps when searching for 'obj' you are
actually finding the obj folders as well as .obj files that exist somewhere
within the directory structure falling within or beneath the obj folders you
are also getting returned by the search. If this were the case, you could
potentially have conflicts when trying to remove both of the in one delete
operation if windows explorer attempts to hold the file lock for the length
of the operation. As I said, I'm just guessing however you might try to limit
your search to return only the top-level directories that have the name 'obj'.

Hope this helps.

-Eric
"Paul" wrote:

This is sort of a developer question. I am cleaning up a project by
searching for "obj" in windows explorer search window. It shows many obj
folders. I can delete them one at a time in the search results but if I
select more than one I get "Cannot delete file: Cannot read from the
source file or disk". I can delete any of them singly but not more than
one at time. I don't see this on all systems. What could be wrong?

Jan 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: use dmgass at hotmail dot com | last post by:
I'm writing a module and when it is imported by a script I want some code automatically executed when the importing script is finished executing. I'd like it to execute before interactive mode is...
1
by: Jason S | last post by:
I haven't used try/catch/finally very much in Javascript. My function (let's call it try_it()) needs to call a function that could throw an exception (let's call it dangerous()) with some setup()...
69
by: MQ | last post by:
Hi all I am just wondering how most people implement cleanup in C functions. In particular, if the function opens a number of resources, these need to be released properly should an error occur...
4
by: IanWright | last post by:
I've got a section of a program that I can't quite get to work. I'm fairly sure its something very simple/trivial but it looks correct to me, so if someone could help me fix the problem, and explain...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.