1.

Solve : copy and replace exes problem, and create batch file then save problem?

Answer»

I have a file in a folder called bla.exe

I copy a newer version to the folder

WINDOWS 7 asks me if I want to copy and replace the file

I say yes

Windows 7 says "ERROR file is open in another program"

WHAT THE HECK IS THAT!!!
(it is in no WAY shape or form open in any program except for explorer!)

There is some kind of delayed file protection inside windows 7 that is not in windows XP nor vista.

in XP or vista you can copy and replace files with no problems.

I have searched and found several possible fixes that dont FIX the problem:
1.) I set the advanced owner permisions to my whole C: drive to have the owner as Administrator instead of trusted installer

2.) UAC is off and I have set all basic permissions to full control on admin and on everyone
_______________________________________ ______________________

problem #2

In windows XP I edit a batch file and I click save to save its new contents.

In windows 7 I save the edited batch file and it says it is in use and I end up having to save it as a different name or different location!
_______________________________________ _____________________

- I have searched to no end on this issue since win 7 came out.
- I have this same issue after re-installing windows 7 multiple times( and with default settings)
- I have this same issue on different peoples computers that have win 7 too.

_______________________________________ ______________________

the files that have copy errors can be ANY exe and it wont let you unless you wait about 10 minutes after you clicked the original exe.

the batch save problem also exists on any windows 7

_______________________________________ _____________________-

Any possible help or solutions would be great.....someday I guess.... I have absolutely no idea what you are talking about. I'm moving and replacing executables immediately after closing them to test various installation scenarios for my own programs, and I haven't had any problems editing batch files in the manner you describe.

In fact, in the first instance, I am quite LITERALLY closing the program, replacing the executable, and starting it again all within a fraction of a second.weird...
what version of 7 do you have (home premium, ultimate?),
32 bit or 64
and build?

mine is 7 ultimate build 7600 (i think) and 64 bit

Im not sure why you have no problem but thats why Im posting here so we can put our minds together

I fully can understand your confusion though... thanksWindows 7 Ultimate x64 build 7600 (RTM).


For the record however I also had no problems with my laptop when it was running Home Premium (also x64).


If the lock seems to stay for a minute or so, you could try process explorer. Some add-on program...Almost certainly an AV program if installed... could be keeping it open for some silly caching scheme. you can use the find feature to search for handles that for that file, and see which programs are using that handle.

The same thing is probably causing your batch file save issues.oh yes procmon i have used that before... not for this problem though... although I sometimes dont use virus protection and I still have the errors

I use antivir by avira when I want to and I have no viruses.

also when I have the antivir installed I have tried disabling the guard on it to test the same theory and I still have the errors.

could it be a certain service .. maybe if I turn all services to automatic it will fix it...should I try that?It's not a services issue...

Yet come to think of it we have no way of knowing what whacks you have done to this system...so yeah...try the defaults.Well I have tried the defaults and still no go... I install vista 64 bit and I get no problems at all... but I paid for windows 7 and I wish I could figure this out.



Discussion

No Comment Found