Solved Hidden Files Won't overwrite???

hastyle

New member
Member
VIP
Local time
10:25 PM
Messages
112
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 Computer

Computer 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(s)
xfx 8600 gts
Monitor(s) Displays
3007fpw
Screen Resolution
2560x1600
Hard Drives
312.57GB Seagate ST3320620AS
244.20GB Western Digital WDC WD2500KS-00MJB0
488.39GB Western Digital WDC WD5000AAKS-00TMA0
PSU
Antec Truepower 2.0 380watts (came with case)
Case
Antec

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 420
OS
Windows 10, Home Clean Install
CPU
Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech
Motherboard
Dell
Memory
6 gb
Graphics Card(s)
ATI Radeon 256MB HD3650
Sound Card
Intergrated 7.1 Channel Audio
Monitor(s) Displays
Dell SP2009W 20"
Hard Drives
640 GB Serial ATA Hard drive
Cooling
Fan
Keyboard
Dell USB Keyboard
Mouse
Dell Premium Optical USB
Internet Speed
DSL 2.85
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
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 Computer

Computer Manufacturer/Model Number
Scratch built
OS
Windows 7 x64 Ultimate
CPU
i7 960
Motherboard
Asus P6X58D
Memory
12 Gig Corsair Dominator
Graphics Card(s)
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
Hard Drives
Primary: Intel X-25M G2 160G SSD
Secondary: Segate baracuda 1.0 TB
HDs in AHCI mode.
PSU
Corasair TX850
Case
Cooler Master HAF
Cooling
Corsair H50
Keyboard
Logitech G15 + N52 game pad
Mouse
Logitech MX518
Internet Speed
15kbs down 4.5kbps up
Other Info
WEI 7.6
CPU & RAM 7.6
Graphics 7.9
Hard disk 7.7
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.



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 Computer

Computer 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(s)
xfx 8600 gts
Monitor(s) Displays
3007fpw
Screen Resolution
2560x1600
Hard Drives
312.57GB Seagate ST3320620AS
244.20GB Western Digital WDC WD2500KS-00MJB0
488.39GB Western Digital WDC WD5000AAKS-00TMA0
PSU
Antec Truepower 2.0 380watts (came with case)
Case
Antec
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 Computer

Computer Manufacturer/Model Number
Scratch built
OS
Windows 7 x64 Ultimate
CPU
i7 960
Motherboard
Asus P6X58D
Memory
12 Gig Corsair Dominator
Graphics Card(s)
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
Hard Drives
Primary: Intel X-25M G2 160G SSD
Secondary: Segate baracuda 1.0 TB
HDs in AHCI mode.
PSU
Corasair TX850
Case
Cooler Master HAF
Cooling
Corsair H50
Keyboard
Logitech G15 + N52 game pad
Mouse
Logitech MX518
Internet Speed
15kbs down 4.5kbps up
Other Info
WEI 7.6
CPU & RAM 7.6
Graphics 7.9
Hard disk 7.7
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
ahhh! i see them now, thank you.

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 Computer

Computer 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(s)
xfx 8600 gts
Monitor(s) Displays
3007fpw
Screen Resolution
2560x1600
Hard Drives
312.57GB Seagate ST3320620AS
244.20GB Western Digital WDC WD2500KS-00MJB0
488.39GB Western Digital WDC WD5000AAKS-00TMA0
PSU
Antec Truepower 2.0 380watts (came with case)
Case
Antec
Back
Top