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
hastyle

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
richc46

Microsoft Community Contributor Award Recipient

Windows 10, Home Clean Install
 
 

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
http://www.sevenforums.com/tutorials...rmissions.html
My System SpecsSystem Spec
31 Aug 2010   #3
logicearth

Windows 10 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
fseal

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
hastyle

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
fseal

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
logicearth

Windows 10 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
hastyle

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




Similar help and support threads
Thread Forum
Show hidden files that remain hidden
In Appearance Files View, clearing the 2 buttons to reveal hidden files does not allow access to, for instance, C documents and settings, which has a padlock next to it, and others. I had reinstalled the OS from within the machine and uninstalled any junk such as games etc. Have Avast free,...
General Discussion
Can the "previous version" feature of win7 overwrite newer files?
hello, title says it all. i'm worried about my personal files (docs etc.). somebody please clarify, whenever i used system restore, windows said "your personal files have not been changed". in which cases would that be so?
Backup and Restore
Can a Dynamically Allocated Virtualbox VM overwrite existing files?
Hey all, Just wondering if setting up a Virtualbox VM with Dynamically Allocated size can overwrite files that already exist on a drive? I've set quite a few up now on an external disk (not the fastest method but storage on my internals is running a little low). I would assume that it doesn't...
Virtualization
Hidden System files are no longer hidden
Some of my important system files are no longer hidden and I can't hide them even with the Command Prompt "attrib" command. Files such as bootmgr and ntldr are shown and I can't hide them. Also, show Protected System files is unchecked and show hidden files is also unchecked so they shouldn't be...
General Discussion
overwrite windows 7 files using dvd
I want to update windows 7 using windows 7 dvd offline (no internet on this pc) in order to fix corrupted windows 7 file problem (tried sfc scannow without success) anyone know how
Installation & Setup


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 22:57.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App