Windows 10: strange settings.ini file in C folder

Discus and support strange settings.ini file in C folder in Windows 10 Software and Apps to solve the problem; Good evening,I have found a strange settings.ini file in the C folder with the following content:[IWA] BalloonTipTimeout=10000 ExportPath=C:\... Discussion in 'Windows 10 Software and Apps' started by Fulvio_1, Jan 13, 2023.

  1. Fulvio_1 Win User

    strange settings.ini file in C folder


    Good evening,I have found a strange settings.ini file in the C folder with the following content:[IWA] BalloonTipTimeout=10000 ExportPath=C:\ HideAlerts=0 HideInformation=0 HideTrayIcon=0 HideTaskTrayOOBE=0 OOBELaunchedOnce=0 ConnectBtnFlashedOnce=0 ImportPath=C: SelectedAdapter=00 HideHotspotMsg=0 EnableExclusion=1 SharedFolder=3 AlertWhenAllPeersLeave=1 AlertWhenNoPeersJoining=1 AlertDefaultSSID=1 DefEAPSIMID=1{imsi}@mnc{mnc}.mcc{mcc}.owlan.org DefEAPAKAID=0{imsi}@mnc{mnc}.mcc{mcc}.owlan.org ShowListCtrlHeaders=0 EnableTlsRejectedCertNtfy=1 UserAdhocNetworking=0 UserOpenAdhocNetworking=0 [Zc

    :)
     
    Fulvio_1, Jan 13, 2023
    #1
  2. nuva Win User

    Snippet C#: INI Files

    This code is great, i'm going to use this in one of my programmes *Big Grin strange settings.ini file in C folder :D

    is it possible to make a list of all sections in the ini files?
     
  3. Snippet C#: INI Files

    GetSections() will return a string[] of section names. If you want the values too, just do a for or for loop to enumerate them. For example:

    Code: foreach (string section in ini.GetSections()) { Console.WriteLine("[" + section + "]"); foreach (string key in ini[section].GetKeys()) Console.WriteLine(key + "=" + ini[section][key]); Console.WriteLine(); }[/quote]
     
    FordGT90Concept, Jan 13, 2023
    #3
  4. MadTogger Win User

    strange settings.ini file in C folder

    Snippet C#: INI Files

    Hi FordGT90Concept,

    your snippet is exactly what I was looking for for my project.

    I have added the two classes and placed:-

    Code: using Ini;[/quote] at the top of my projects form code, placed:-

    Code: IniFile ini = new IniFile("PathToFile.ini"); if (ini.Exists()) ini.Load(); else { ini.Add("mySection1"); ini["mySection1"].Add("value1"); ini["mySection1"].Add("value2"); ini["mySection1"].Add("value3"); ini.Add("mySection2"); ini["mySection2"].Add("value1"); ini["mySection2"].Add("value2"); ini["mySection2"].Add("value3"); }[/quote] directly after:-

    Code: InitializeComponent();[/quote] I guess I am missing something because when running the project it throws up an Exception:-

    Keys must have an equal sign.

    which is in the IniSection.cs

    Please could you advise me what I am doing wrong.

    Also, I am guessing that the line:-

    Code: IniFile ini = new IniFile("PathToFile.ini");[/quote] I have to actually change PathToFile to a path where I want my ini to reside?

    Sorry if this all seems pretty basic stuff but I am fairly new to c#.

    Kind regards..,

    MT *Smile strange settings.ini file in C folder :)
     
    MadTogger, Jan 13, 2023
    #4
Thema:

strange settings.ini file in C folder

Loading...
  1. strange settings.ini file in C folder - Similar Threads - strange settings ini

  2. Strange Files in C drive Folder

    in Windows 10 Gaming
    Strange Files in C drive Folder: Hi. When I go to This PC and select my C drive i have a TON of files listed...they are stuff i dont know about..for example theres M files ,R files etc., CAB files, MUM, Manifest, security catalog, XML, WMA and a few that are a mashup of letters and numbers...theres a whole...
  3. Strange Files in C drive Folder

    in Windows 10 Software and Apps
    Strange Files in C drive Folder: Hi. When I go to This PC and select my C drive i have a TON of files listed...they are stuff i dont know about..for example theres M files ,R files etc., CAB files, MUM, Manifest, security catalog, XML, WMA and a few that are a mashup of letters and numbers...theres a whole...
  4. Strange folder on Disk C

    in Windows 10 Ask Insider
    Strange folder on Disk C: [ATTACH] Yesterday I found a weir folder (1kb) with one document (something encrypted). I scanned and seems fine, so I delete it. Today appear another one. Should I get worried? What is it? submitted by /u/Most_Instance_9041 [link] [comments]...
  5. strange settings.ini file in C folder

    in Windows 10 Gaming
    strange settings.ini file in C folder: Good evening,I have found a strange settings.ini file in the C folder with the following content:[IWA] BalloonTipTimeout=10000 ExportPath=C:\ HideAlerts=0 HideInformation=0 HideTrayIcon=0 HideTaskTrayOOBE=0 OOBELaunchedOnce=0 ConnectBtnFlashedOnce=0 ImportPath=C:...
  6. strange settings.ini file in C folder

    in Windows 10 Drivers and Hardware
    strange settings.ini file in C folder: Good evening,I have found a strange settings.ini file in the C folder with the following content:[IWA] BalloonTipTimeout=10000 ExportPath=C:\ HideAlerts=0 HideInformation=0 HideTrayIcon=0 HideTaskTrayOOBE=0 OOBELaunchedOnce=0 ConnectBtnFlashedOnce=0 ImportPath=C:...
  7. STRANGE FOLDER AND FILES

    in Windows 10 Network and Sharing
    STRANGE FOLDER AND FILES: Today the Action Center on my PC advised me that my computer was running low on disk space. I found a folder on the C Drive named ”99p~5Xi4`}WiqJpb7_” that used up 464GB of space and contained 2343 Files. I have no idea what these files are about and am unable to read them....
  8. Strange file in C:\ root?

    in Windows 10 Ask Insider
    Strange file in C:\ root?: Sorry for the asinine question but does anyone have any idea what this file is that's just appeared in the root of my C:\ drive? https://ibb.co/TMgVDzF submitted by /u/D3SOL4TE [link] [comments] https://www.reddit.com/r/Windows10/comments/k39uqr/strange_file_in_c_root/
  9. Strange large files in c:\windows folder.

    in Windows 10 Network and Sharing
    Strange large files in c:\windows folder.: I run windows 10 home edition. Since Feb 2018 I have noticed files in c:\windows with Chinese character names. There are 10 files that take a total of 20 GBs. 1 file names is 岀尴㼮矔屴ü[ Coincidently the PFRO.log file has error entries such as: 2/19/2018 13:38:13 - PFRO...
  10. Modify INI files in Ark WInows store folder.

    in Windows 10 Gaming
    Modify INI files in Ark WInows store folder.: I am trying to edit the Ini files for Ark survival evolved. I am trying to make the in game non-dedicated server player distance larger as it is currently prohibitively small . Unfortunately I don't have permissions to edit these files. (I am admin) and it is causing me...