Forum posts for winhlp32.exe

How to insert numbering without changing other variables [closed]

I made this code so far but it's without numbering:

int add = files.Length;
DirectoryInfo di = new DirectoryInfo('c:\Windows');

FileInfo[] fiArr = di.GetFiles();

Console.WriteLine('The directory {0} contains the following files:', di.Name);
Console.WriteLine();
foreach (FileInfo f in fiArr) {
Console.WriteLine(' {0} ({1}) ', f.Name, f.Length);
}
Console.WriteLine();
Console.ReadLine();

PressEnter();
Console.Clear();


i want the output to be like this:

Files in:

C:Windows
1. explorer.exe (2871808)
2. ODBC.ini (376)
3. winhlp32.exe (9728)
...

View complete forum thread with replies

Other posts related to winhlp32.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Programatically disable any program/process using c#
Detecting if WinHelp is Installed on Vista or newer Windows
How to use an argument for aS command in WinDBG
window.open() returns null when called from a chm file under 64-bit Win7 and IE 10
How to insert numbering without changing other variables [closed]

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.