Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Hidden Files Won't overwrite???


31 Aug 2010   #1

windows 7 Ultimate 32bit & 64bit
 
 
Hidden Files Won't overwrite???

Hey guys, I'm doing a little bit of coding, but im having trouble with the updated files.

C:\Program Files\MetaTrader - Alpari UK2\experts\indicators

so this is the folder im working in, and Im using a coding editor to load the file, rewrite the code and then save over it. But i notice when i get back into my Metatrader software, the code is not updated. So I deleted the old file and re-saved from the editor with the same name, but i keep getting the do u want to overwrite message even though i just deleted that file. So i saved the code on the desktop with a new name, and then copied it back to that indicator folder. and it works, but now e every time i go into my software its showing that i still have all the old versions in there still.

"I have show hidden file checked on my folder options" How do i delete all of them, and is there a write protections on this folder , thats not allowing the updates when i try to re-save over it?

thanks.

My System SpecsSystem Spec
.

31 Aug 2010   #2

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, clean install, upgrade disc
 
 

Ifd you cannot just uncheck the read only. Give yourself permissions, if that is not possible give yourself ownership first.

http://www.vistax64.com/tutorials/67...ship-file.html
Sharing and Permissions
My System SpecsSystem Spec
31 Aug 2010   #3

Windows 8.1 Pro (x64)
 
 

It is because you are working directly in Program Files. either run your application as Administrator or stop working directly in the Program Files directory. Problem solved.
My System SpecsSystem Spec
.


31 Aug 2010   #4

Windows 7 x64 Ultimate
 
 

Yes, programs are no longer allowed to modify files within the program files folder unless run as administrator.

It's a bad habit that needs to be broken

All program settings/data files should be stored under the users folder. There are a variety of ways and places to store things under there. Use the "SHGetFolderPath" API call to find your users Documents folder (if data is to be user visiable) or other special folder for hidden application data.
My System SpecsSystem Spec
31 Aug 2010   #5

windows 7 Ultimate 32bit & 64bit
 
 

this sounds like the easier option, i donit see why i would have to mess around with the registry to have control of my own computer!!

Even if i run as admin, the files i deleted, don't appear to be in explorer, but once i enter my software, it shows that its still being loaded. I would like to get rid of these old revisions.



Quote   Quote: Originally Posted by logicearth View Post
It is because you are working directly in Program Files. either run your application as Administrator or stop working directly in the Program Files directory. Problem solved.
My System SpecsSystem Spec
31 Aug 2010   #6

Windows 7 x64 Ultimate
 
 

What you need to realize is that if you, as a user, have "complete control" over your computer. Then any program you ever run, malicious on purpose or accidentally ALSO has "complete control" over you r computer.

You in fact DO have complete control when it is necessary, but 99.999% of the time you should not need to excersize it, therefor it should not be active 100% of the time leaving your system wide open to attck or simple degeration by bad software (nor anyone elses if you are writing said software )
My System SpecsSystem Spec
31 Aug 2010   #7

Windows 8.1 Pro (x64)
 
 

Quote   Quote: Originally Posted by hastyle View Post
Even if i run as admin, the files i deleted, don't appear to be in explorer, but once i enter my software, it shows that its still being loaded.
Cause they are virualized. Windows, to avoid errors, virutualizes files that are trying to be written to protected areas. They are in turn put here: C:\Users\[username]\AppData\Local\VirtualStore
My System SpecsSystem Spec
31 Aug 2010   #8

windows 7 Ultimate 32bit & 64bit
 
 

ahhh! i see them now, thank you.

Quote   Quote: Originally Posted by logicearth View Post
Quote   Quote: Originally Posted by hastyle View Post
Even if i run as admin, the files i deleted, don't appear to be in explorer, but once i enter my software, it shows that its still being loaded.
Cause they are virualized. Windows, to avoid errors, virutualizes files that are trying to be written to protected areas. They are in turn put here: C:\Users\[username]\AppData\Local\VirtualStore
My System SpecsSystem Spec
Reply

 Hidden Files Won't overwrite???




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:01 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33