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: Windows 7 with program files

27 Apr 2010   #11

windows 7
Solved it

After much frustration i found that my program was in fact saving to the real program files folder hence the change in file size and since my application was run as administrator it had enough permissions to read and write to the real folder. When i tried to go to the htdocs folder and open the file using notepad, i get the old content. The reason was that the files were copied into the htdocs folder and i did not have enough permissions to edit or open them. Since i had no permissions, it saves a copy of the file before the changes and copies it to a folder c:\users\clinton\appdata\virtualstore\program files\apache\apache2.2\htdocs. The difference in versions is that my app saves to the real program files folder but apache and notepad open the one in virtual store.

I must say that this is the most confusing thing i've ever seen and there is nothing about this in the help.

Thanks for the inputs.

My System SpecsSystem Spec
27 Apr 2010   #12

Windows7 Ultimate 64bit

Ahh, I see why you got problems... I don't store my "website" in htdocs, I use another folder for that, on another volume, that's why I don't get that problem... You can edit Apache's config and move your website out of "htdocs"...

My System SpecsSystem Spec
28 Apr 2010   #13

windows 7
Update:solved it

Yeah, it all makes sense now. I solved the problem initially by doing this but i kept working at the program files for the sake of understanding and future programming methods. An easy solution to using the htdocs folder is to just run your web editor exe and the httpd.exe as administrator in the compatability window.

I misunderstood the permissions as meaning that if i had administrator status with the proper permissions then this is automatically given to the software i run as well when really it just applies to what i do directly and each software application must be given special permissions.

It's a lot different from xp, i'll say that much.
My System SpecsSystem Spec


 Windows 7 with program files

Thread Tools

Similar help and support threads
Thread Forum
Program refusing to install in standard program files folder
I have an Advent (PC World brand) Laptop that comes with its own custom On-Screen Display software. The software is made for 32 bit Windows with no 64 bit version available as far as I'm aware. I have upgraded to 64 bit Windows recently and everything seems to work great except the OSD. ...
Program Files (x86) & Program Files Installed On Another Drive
Hi have have a new PC running Win7 Home Premium 64bit. I have 2 drives: 1 x 120GB SSD (running the OS) (C Drive) 1 x 1TB HDD (D Drive) The SSD is running the OS and a couple of main programs which i use quite often (ie. Office 2010, Antivirus, etc). The HDD i want to use to install and...
General Discussion
Allow installed program to rename files under Program Files (x86)
Hi, I have a program installed under "C:\Program Files (x86)\CompanyName\SWName". When the program runs it's supposed to copy some files, say FROM "C:\Program Files (x86)\CompanyName\SWName\Drivers\*.abc TO "C:\Program Files (x86)\CompanyName\SWName\Drivers\*.xyz The program works on...
General Discussion
Program Files or Program Files (x86)-Where to place downloaded program
My computers are both running Win 7 64-bit. I am thoroughly confused when it comes to placing programs that I download into their proper folders: That is, program files (x86) vs program files. I have read stuff on this, but still confused. for the most part, even when a dl'd program suggests...
No Program Files (x86) Windows 7
Hello Everyone, I am new here as of today. So, hello. I have a Windows 7 Pro box straight from Dell last month. It has a Program Files, but no Program Files (x86) on it that I can find. I displayed the hidden folders, and didn't see it there. Does anyone know where to find it now? I surely...
General Discussion

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 05:32.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App