Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need to Find All Aircraft.cfg Files Containing Specific Text

Featured Replies

One of my new addons requires that I find all aircraft.cfg files in my FS9/Aircraft folder that contains a specific line of text and the Windows XP search engine apparently won't look for text inside an aircraft.cfg file. If someone knows how to make it do this, please let me know what I may be doing wrong.Is there a utility that will find these specific .cfg files for me, and also possibly add 3 specific lines of text automatically to them all in a specified location in the .cfg file?As always, thanks in advance to the group.

Smooth Skies! -- Chuck B.

 

MACHINE 1:FS2004/WinXP Pro 64, Intel Core 2 Duo E8600 Clocked to 4.35 GHz, Corsair H50, Asus Maximus Formula, 4GB PNY XLR8 DDR2 @1067, ATI 4870 and 4650, WD Raptor 10K RPM 160 GB HD, Seagate 500 mgb 32mgb cache, 2 Analog 2HTGs w/ 3 19" I-INC flat panel monitors 1280x1024x32, and 1 17" at 1280 x 1024, PC Silencer 750 Quad, FSPassengers, FSUPIC, (Payware), WideFS

MACHINE 2: Dell Dimension, P4, WideClient, FDC Live Cockpit, Pro Flight Emulator, Active Sky v6.5

MACHINE 3: ASUS u81A Laptop, Windows 7 (what a joke!), WideClient, FlightSim Commander

  • Commercial Member

I sometimes do things like that using Textpad's "find in files" function. You could set it to search in FS9Aircraft including subfolders, looking in files named specifically "aircraft.cfg" (or *.cfg or aircraft.*) for whatever string it is you're trying to find.Textpad is trialware that nags you to purchase about once every hour but never actually stops working. It has some great features for any kind of code editing, and is a must have if you ever do any manipulation of AI flight plan source files. Available here:http://www.textpad.com/To add the 3 lines of code there's a program from the same company called "WildEdit". It's also trialware but the unregistered version only works on files of 10KB or smaller which rules out the acft.cfg in most cases.What you want to do could likely be done from a DOS prompt or batch file using the "for" and "find" commands but it'd take longer (for me anyway) to research and come up with a working script than it would to manually open each .cfg, check for the string, and add the lines as needed :) .Jim

>One of my new addons requires that I find all aircraft.cfg>files in my FS9/Aircraft folder that contains a specific line>of text and [...]Hello!I think here http://www.wingrep.com/download.htm you will find exactly what you need. This tool works perfect like the well known Unix Grep.Mick!

  • Author

Mick, I totally missed your post this morning!Thank you!! I'll give it a try.

Smooth Skies! -- Chuck B.

 

MACHINE 1:FS2004/WinXP Pro 64, Intel Core 2 Duo E8600 Clocked to 4.35 GHz, Corsair H50, Asus Maximus Formula, 4GB PNY XLR8 DDR2 @1067, ATI 4870 and 4650, WD Raptor 10K RPM 160 GB HD, Seagate 500 mgb 32mgb cache, 2 Analog 2HTGs w/ 3 19" I-INC flat panel monitors 1280x1024x32, and 1 17" at 1280 x 1024, PC Silencer 750 Quad, FSPassengers, FSUPIC, (Payware), WideFS

MACHINE 2: Dell Dimension, P4, WideClient, FDC Live Cockpit, Pro Flight Emulator, Active Sky v6.5

MACHINE 3: ASUS u81A Laptop, Windows 7 (what a joke!), WideClient, FlightSim Commander

This is a little known Windows "feature". When you do a text search inside files, it will only search certain file extensions. It is really annoying and bites us at work all the time. Like was suggested, get a good freeware text editor. I use Notepad++, but there are lots of good ones, so just grab whichever one you like best.

-------------------------

Craig from KBUF

  • Author

Craig: Thank you. FYI, I use a freeware search engine at work called Agent Ransack or I use Everything (IT is always in a panic because I refuse to use the 'approved' crap they give me -- the boneheads), but there's no batch change feature to it.

Smooth Skies! -- Chuck B.

 

MACHINE 1:FS2004/WinXP Pro 64, Intel Core 2 Duo E8600 Clocked to 4.35 GHz, Corsair H50, Asus Maximus Formula, 4GB PNY XLR8 DDR2 @1067, ATI 4870 and 4650, WD Raptor 10K RPM 160 GB HD, Seagate 500 mgb 32mgb cache, 2 Analog 2HTGs w/ 3 19" I-INC flat panel monitors 1280x1024x32, and 1 17" at 1280 x 1024, PC Silencer 750 Quad, FSPassengers, FSUPIC, (Payware), WideFS

MACHINE 2: Dell Dimension, P4, WideClient, FDC Live Cockpit, Pro Flight Emulator, Active Sky v6.5

MACHINE 3: ASUS u81A Laptop, Windows 7 (what a joke!), WideClient, FlightSim Commander

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.