| 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 Specs |
| System Manufacturer/Model Number Clone OS windows 7 Ultimate 32bit & 64bit CPU athlon 64 3500+ Venice Motherboard Asus A8R-MVP Memory 2x1GB OCZ Gold dual-channel DDR @ 200MHZ 3-3-3-8 Graphics Card xfx 8600 gts Monitor(s) Displays 3007fpw Screen Resolution 2560x1600 PSU Antec Truepower 2.0 380watts (came with case) Case Antec Hard Drives 312.57GB Seagate ST3320620AS
244.20GB Western Digital WDC WD2500KS-00MJB0
488.39GB Western Digital WDC WD5000AAKS-00TMA0 |
31 Aug 2010
|
#2 | | Windows 7 Home Premium SP1, clean install, upgrade disc CT |
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 Specs | | System Manufacturer/Model Number Dell XPS 420 OS Windows 7 Home Premium SP1, clean install, upgrade disc CPU Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech Motherboard Dell Memory 6 gb Graphics Card ATI Radeon 256MB HD3650 Sound Card Intergrated 7.1 Channel Audio Monitor(s) Displays Dell SP2009W 20" Keyboard Dell USB Keyboard Mouse Dell Premium Optical USB Cooling Fan Hard Drives 640 GB Serial ATA Hard drive Internet Speed DSL 2.85 |
31 Aug 2010
|
#3 | | |
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 Specs | | System Manufacturer/Model Number Alienware Aurora ALX R4 OS Windows 7 x64 (SP1) CPU Intel Core i7-3930K (3.2GHz, Turbo 4GHz) Motherboard Alienware Aurora-R4 x79 Memory 4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz) Graphics Card Nvidia Geforce GTX 690 (Stock) Sound Card RealTek Integrated Audio Monitor(s) Displays Dell UltraSharp U3011 Screen Resolution 2560x1600 Other Info Dell Inspiron Mini 10v (Intel Atom N270 1.6 GHz; 1GB; Windows 7 Ultimate) |
31 Aug 2010
|
#4 | | Windows 7 x64 Ultimate San Diego |
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 Specs | | System Manufacturer/Model Number Scratch built OS Windows 7 x64 Ultimate CPU i7 960 Motherboard Asus P6X58D Memory 12 Gig Corsair Dominator Graphics Card Nvidia 480 Sound Card Maudio Delta 44 + breakout box Monitor(s) Displays Dell UltraSharp U2410 24in and Samsung 21 dual monitors Screen Resolution 1920x1200 and 1280x1024 Keyboard Logitech G15 + N52 game pad Mouse Logitech MX518 PSU Corasair TX850 Case Cooler Master HAF Cooling Corsair H50 Hard Drives Primary: Intel X-25M G2 160G SSD
Secondary: Segate baracuda 1.0 TB
HDs in AHCI mode. Internet Speed 15kbs down 4.5kbps up Other Info WEI 7.6
CPU & RAM 7.6
Graphics 7.9
Hard disk 7.7 |
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: Originally Posted by logicearth 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 Specs | | System Manufacturer/Model Number Clone OS windows 7 Ultimate 32bit & 64bit CPU athlon 64 3500+ Venice Motherboard Asus A8R-MVP Memory 2x1GB OCZ Gold dual-channel DDR @ 200MHZ 3-3-3-8 Graphics Card xfx 8600 gts Monitor(s) Displays 3007fpw Screen Resolution 2560x1600 PSU Antec Truepower 2.0 380watts (came with case) Case Antec Hard Drives 312.57GB Seagate ST3320620AS
244.20GB Western Digital WDC WD2500KS-00MJB0
488.39GB Western Digital WDC WD5000AAKS-00TMA0 |
31 Aug 2010
|
#6 | | Windows 7 x64 Ultimate San Diego |
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 Specs | | System Manufacturer/Model Number Scratch built OS Windows 7 x64 Ultimate CPU i7 960 Motherboard Asus P6X58D Memory 12 Gig Corsair Dominator Graphics Card Nvidia 480 Sound Card Maudio Delta 44 + breakout box Monitor(s) Displays Dell UltraSharp U2410 24in and Samsung 21 dual monitors Screen Resolution 1920x1200 and 1280x1024 Keyboard Logitech G15 + N52 game pad Mouse Logitech MX518 PSU Corasair TX850 Case Cooler Master HAF Cooling Corsair H50 Hard Drives Primary: Intel X-25M G2 160G SSD
Secondary: Segate baracuda 1.0 TB
HDs in AHCI mode. Internet Speed 15kbs down 4.5kbps up Other Info WEI 7.6
CPU & RAM 7.6
Graphics 7.9
Hard disk 7.7 |
31 Aug 2010
|
#7 | | |

Quote: Originally Posted by hastyle 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 Specs | | System Manufacturer/Model Number Alienware Aurora ALX R4 OS Windows 7 x64 (SP1) CPU Intel Core i7-3930K (3.2GHz, Turbo 4GHz) Motherboard Alienware Aurora-R4 x79 Memory 4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz) Graphics Card Nvidia Geforce GTX 690 (Stock) Sound Card RealTek Integrated Audio Monitor(s) Displays Dell UltraSharp U3011 Screen Resolution 2560x1600 Other Info Dell Inspiron Mini 10v (Intel Atom N270 1.6 GHz; 1GB; Windows 7 Ultimate) |
31 Aug 2010
|
#8 | | windows 7 Ultimate 32bit & 64bit |
ahhh! i see them now, thank you. 
Quote: Originally Posted by logicearth 
Quote: Originally Posted by hastyle 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 Specs | | System Manufacturer/Model Number Clone OS windows 7 Ultimate 32bit & 64bit CPU athlon 64 3500+ Venice Motherboard Asus A8R-MVP Memory 2x1GB OCZ Gold dual-channel DDR @ 200MHZ 3-3-3-8 Graphics Card xfx 8600 gts Monitor(s) Displays 3007fpw Screen Resolution 2560x1600 PSU Antec Truepower 2.0 380watts (came with case) Case Antec Hard Drives 312.57GB Seagate ST3320620AS
244.20GB Western Digital WDC WD2500KS-00MJB0
488.39GB Western Digital WDC WD5000AAKS-00TMA0 Hidden Files Won't overwrite??? problems? All times are GMT -5. The time now is 10:00 PM. | |