Home » Microsoft Technologies

Why do I have Program Files and Program Files (86) ?

I have Windows 7.  My C drive is almost completely full.  On my last PC I had less hard drive and it never came close to being full.  Do I need Program Files & P. Files (86)?  And why do I have both?

2 Answers Found


Answer 1

The Reason for your machine having both "Program files  and Program Files (86)" is your machine is 64-bit machine. On 64-bit machines the system files will be in "Program Files (86)". You Require both. Kind Regards Wintestlogo Team

Answer 2

I have Windows 7.  My C drive  is almost completely  full.  On my last PC I had less hard  drive and it never came close  to being full.  Do I need Program Files & P. Files (86)?  And why do I have both?

Here is not the related forum to your problem. Maybe you can post it to http://social.technet.microsoft.com/Forums/en/category/w7itpro,windowsvistaitpro,windowsxpitpro/.

Can anyone tell me how to install Microsoft Office Document Imaging Printer in Office 2007 (RFP).  Although the Imaging program installs, the Printer does not, and the Microsoft Office 2007 Professional (86) Installer say that it is not an available feature.

With the following code:

            string s = string.Empty;
            string procName = Process.GetCurrentProcess().ProcessName;
            using (PerformanceCounter pc = new PerformanceCounter("Process", "Private Bytes", procName))
                s = string.Format("G.W. Hayduke (EcoTerrier) - Memory used = {0:N} bytes", pc.NextValue());
            Title = s;

...I get values that have ".00" appended. How do I get just the integer with no dot zilch zilch? 

when i go to download  the set up tells me error 2350 or i dont have permission

Hi ,


:Error 32000.The Commandline '"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin\Stsadm.exe.....returned non-zero value -1


Am getting this error while installing TFS 2008.


pls gimme some solution, i ve found other forunm with the same question but with 60\bin\Stsadm.exe  but mine is 12\bin\Stsadm.exe


Hi experts,

i am trying to develop a windows batch file that will search for files that are 'x' days old, and archive and then delete them. following is the function that extracts the no of days.

@for /f "tokens=2,3,4 delims=/- " %%a in ('Date /t') do @(
set mm=%%a
set dd=%%b
set yy=%%c
set /a DateNo=%dd%+(%mm%*306001/10000)+(%yy%*1461/4)
echo %DateNo%

however, on running the batch file, i am encountering the below error.

Invalid number. Numeric constants are either decimal (17),
hexadecimal (0x11), or octal (021).

request you to help me. quick help is really appreciated please.


I searched high and low and have found some discussions on this topic but do seem to see any solutions.   So here is my issue.   I have an application that will copy 2 files to the Program Files directory.   What happen is, when I run it and the files exist (this should be what normally happens) I get accessed denied.   If I try to do a File.Delete (in code) first I get an access denied, however I can manually (in OS windows explorer) delete the files and then the copy will work.   I am running the application as Admin, so permissions to the folder are good.  

The application is restoring a 3rd party software file that tends to get corrupted a lot.   We have mechanism that will back this file up, but when I try to restore it I get the problem described above.   (not a file lock issue, I have made sure no programs have a handle to the file)

OS = Vista32
Program written in C#

Is there anyway of accomplishing this?



I have a basic application that copies files to Program Files/Starapp/Files. If the user is using Vista or Win7 with UAC on the files go to VS which is fine. However there is one file that gets updated regularly that has to go in Program Files, not VS. So it means for users with UAC on have to do it manually or turn UAC off.

Is there any code I can add to allow this single file to be definitely copied into Program Files?

I have tried finding the answer but had no luck.




I want to be able to double click a custom file that contains text and it pulls up my program and adds the text in the richtextbox.


Basicly I created a file extention called .pwt but I can't get it to load the text stored in it on the richtextbox.


I am trying to deploy a .net windows form application.  My target platform has to be 32 bit.

In my setup project, The defultLocation for application folder is  [ProgramFilesFolder][Manufacturer]\[ProductName].  And I added a custom Folder and trying to use absolute path c:\Program Files\ as default location for some of my files that need to deploy.

When I run, it will not use the absolute path, instead it installed the files under my custom folder to c:\Program Files (x86)\ .  Ironically, if I set the absolute path to something other than c:\Program Files\ (for example: c:\myProgram\). It works fine.  I think it did not treat "c:\Program Files\" as absolute path and instead treated as [ProgramFilesFolder].

And also, even if I changed the folder to c:\Progam Files\.. during installation instead of the default c:\Program Files (x86)\, it still installs the program under c:\Program Files (x86)\

Anyone has any suggestion to install the 32 bit app under c:\Progam Files\ for a machine with 64bit XP installed.

Thanks in advance for any suggestions.  And if I did not explain clear on my situation, please let me know. 



Hi friends,

Below is my detail explanation.

Every Morning, we are getting multiple PDF files and our Executive needs to see in one PDF files.

Right, now I am diong manually PDF Merge process using Acrobate Profetional. But Now, my client asking to convert this into automated process every morning.

My question is , How can we Merge PDF processing using programming language .NET / Java Script and automate this every morning ?.

(My client is not allowing to use any third paty tool for this process.)

Can someone provide me a suggestions for this ?

I am not a great programmer.

So, if anyone provide me Coding Template / good URL, I will appreciate this.

Let me know if you need more information.



1.how to associate my files for my program, for example: a file with the name of two times musik.mhx if clicked will open up my program.
2.I want to associate the file with my program right click.for example: right click on the file, then in my program have the option to open the file. like right click extract files. please give me an example of how to make it? or a link that discusses my problem?



Please help me!


I have been trying to make visual studio 2005 work on Windows 7 Embedded Standard x64 for quite a few days. The installation of Windows 7 embedded X64 was doen as followng: Not to use template, check everything, select EWF, not to use bootable USB. The installation went smoothly. And I was able to run our applications ion this platform. However, the problems showed up when I tried to put Visual Studio 2005 on this platform. I installed VS2005 with C++ 64 bit compiler, installed SP1, and the VS2005 vista update. Then, I created an empty win32 console app, tried to build it. I got "Error spawning: ...\cl.exe".

Re-formated the drive and tried everything again, the same error. But, I installed VS2005 with the same steps on a Windows 7 Ultimate X64 system, it works correctly. Did I miss something for the Emmbedded one? (I have to mention here that the embedded Windows 7 X64 is a 6 months evaluation version. It came with our MSDN subscription.)

I am crossing my fingers for your help! Many thanks,



On our development server the DDLS on C:\program files\Microsoft SQL Server\90\SDK\Assemblies are missing. example (microsoft.sqlserver.dtsruntimewrap.dll)

Can you pls advise what component in SQL server 2005 neds to be installed to have the ddls installed.




I want to create some folders in "Program Files/[MYCompanyName]/[MyProductName]" using custom actions in Installshield which will have full permissions for all the users of system(both admin & limited) in Win 7 & Vista.

My question is "Are there any concerns from Microsoft for giving full permissions to some folders inside 'Program Files/[MYCompanyName]/[MyProductName]'? These folders will be created and provided with permissions during installation time. After installation, these folders will be used by some of our applications in write mode. 



Environment: Windows XP 32-bit, Word 2003 or 2007 (occurs on multiple computers), CRM 4.0 Client for Outlook Rollup 7. User authenticates of IFD (Https) in a multi-tenant environment.

Repro steps: Start a mail merge on Accounts from within the Outlook client. Choose an existing Organization merge template. Complete the merge in word and click print. User is prompted to send error details to Microsoft. The user is NOT prompted if they would like to create activities in CRM for this merge. The document then prints successfully, but without the activities created in CRM. Outlook then crashes.

What I've tried so far: Verified trusted sites are set up correctly. Changed user to System Administrator role -- behavior did not change.

Error details:

Event Type:        Error

Event Source:    C:\Program Files\Microsoft Office\Office12\OUTLOOK.EXE

Event Category:                None

Event ID:              5000

Date:                     3/22/2010

Time:                     1:22:48 PM

User:                     N/A


The description for Event ID ( 5000 ) in Source ( C:\Program Files\Microsoft Office\Office12\OUTLOOK.EXE ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: crmunmanaged, 4.0.7333.2138, outlook.exe, 629, c__bt_13487_src_application_outlook_addin_mailmerge.cpp, NIL, NIL, NIL, NIL, NIL, NIL.


0000: 63 00 72 00 6d 00 75 00   c.r.m.u.

0008: 6e 00 6d 00 61 00 6e 00   n.m.a.n.

0010: 61 00 67 00 65 00 64 00   a.g.e.d.

0018: 2c 00 20 00 34 00 2e 00   ,. .4...

0020: 30 00 2e 00 37 00 33 00   0...7.3.

0028: 33 00 33 00 2e 00 32 00   3.3...2.

0030: 31 00 33 00 38 00 2c 00   1.3.8.,.

0038: 20 00 6f 00 75 00 74 00    .o.u.t.

0040: 6c 00 6f 00 6f 00 6b 00   l.o.o.k.

0048: 2e 00 65 00 78 00 65 00   ..e.x.e.

0050: 2c 00 20 00 36 00 32 00   ,. .6.2.

0058: 39 00 2c 00 20 00 63 00   9.,. .c.

0060: 5f 00 5f 00 62 00 74 00   _._.b.t.

0068: 5f 00 31 00 33 00 34 00   _.1.3.4.

0070: 38 00 37 00 5f 00 73 00   8.7._.s.

0078: 72 00 63 00 5f 00 61 00   r.c._.a.

0080: 70 00 70 00 6c 00 69 00   p.p.l.i.

0088: 63 00 61 00 74 00 69 00   c.a.t.i.

0090: 6f 00 6e 00 5f 00 6f 00   o.n._.o.

0098: 75 00 74 00 6c 00 6f 00   u.t.l.o.

00a0: 6f 00 6b 00 5f 00 61 00   o.k._.a.

00a8: 64 00 64 00 69 00 6e 00   d.d.i.n.

00b0: 5f 00 6d 00 61 00 69 00   _.m.a.i.

00b8: 6c 00 6d 00 65 00 72 00   l.m.e.r.

00c0: 67 00 65 00 2e 00 63 00   g.e...c.

00c8: 70 00 70 00 2c 00 20 00   p.p.,. .

00d0: 4e 00 49 00 4c 00 2c 00   N.I.L.,.

00d8: 20 00 4e 00 49 00 4c 00    .N.I.L.

00e0: 2c 00 20 00 4e 00 49 00   ,. .N.I.

00e8: 4c 00 2c 00 20 00 4e 00   L.,. .N.

00f0: 49 00 4c 00 2c 00 20 00   I.L.,. .

00f8: 4e 00 49 00 4c 00 20 00   N.I.L. .

0100: 4e 00 49 00 4c 00 0d 00   N.I.L...

0108: 0a 00                     ..     

Any thoughts? Am currently spining up a new environment to see if I can recreate on a fresh install.


Hello all!


I got a question:

I added a .exe file to my project resources.
I now want to make the .exe open when I click the button.


Please help me, I know it's not hard but... I just can't find it.


hi to all

I have created one small application ( WM 5.0 Smart device) and it is run successfully.

when the application was running i pressed home key so menu appeared and my application was closed or go in background.

So how can i retrieve my running application.I could not found program files in that.

Above all things i m talking about Emulator.

in WM 6.0 program files available.



I'm developing on WindowsCE. 
I've created an Icon resource, I've put it on project properties but 
after I deploy the application the icon of the exe in program manager 
is always the white square. How could I embed the icon so to have it 
displayed in file manager? 


I am new to the Bat world. I have been assigned a task to move several files from one folder to another, on a daily basis, based on a files last modify date, which is greater then 31 days. I have copied the Bat file I put together below. The problem I am running into is in the contents of the DESTINATIONFOLDER variable. It cannot interpret "SSIS Application Data", for some reason. It doesn't realize "Application Data" is part of the Path Name. I will eventually have to a section of code to Delete any file oder then 180 days at some point, but would like to get this to work first.

The error I am getting is also pasted to the bottom of this post. Any assistance would be greatly appreciated. 

REM ---------------------------------------------------------------------------------------

SET DestinationFolder=D:\"SSIS Application Data"\Model\DMU\CashstarArchive\Archive\

SET SourceFolder=D:\SSIS Application Data\Model\DMU\CashstarArchive\

REM cls

REM ---------------------- DEFINE VARIABLES USED IN SCRIPT END ----------------------------
REM --------------------- MOVE FILES OLDER THAN SIX MONTHS START --------------------------
REM -------------------- PROPER SYNTAX FOR forfiles batch command -------------------------

FORFILES /p %DESTINATIONFOLDER% /m *.* /d -31 /C "cmd /c DEL @file"


 D:\Data\OPERAT~1\Scripts>FORFILES /p D:\"SSIS Application data"\Model\DMU\CashstarArchive\Archive\ /m *.* /d -31 /C "cmd /c DEL @f
ERROR: Invalid argument/option - 'Application'.
Type "FORFILES /?" for usage.


<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure