Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3223380
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:06:02+00:00 2026-05-17T16:06:02+00:00

I am writting a client-server laucher application. An administrator will, from the server side,

  • 0

I am writting a client-server laucher application.

An administrator will, from the server side, select executable files (‘.exes’) from a list and add these to a short-list of the apps that standard users can run on the client.
To complile this list, my client app will reculsively search though all the folders in the system for exes and send this list over to the server via wcf.

To save search time, and keep the list short, I would like to avoid searching through folders that are not LIKELY to contain ‘.exes’ that human users are intended to run directly.

Examples (i think) :

%windir%\WinSxS – Windows Side-by-Side – used to store versions of Windows components that are built to reduce configuration problems with Dynamic Link Libraries.

%windir%\installer – used to store installation information for installed programs

C:\MSOCache – MS Office local install source

Most hidden folders

What other folders should I avoid searching through and what are they likely to contain?

I am interested in WinXP/WinVista/Win7.

EDIT:

Search time is not the most important factor.
It is very important not to exclude exes that the user may need to run AND to exclude exes like:

c:\Windows\winsxs\x86_microsoft-windows-x..rtificateenrollment_31bf3856ad364e35_6.1.7600.20520_none_f43289dd08ebec20\CertEnrollCtrl.exe

that were never meant to be directly launched by the user.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:06:02+00:00Added an answer on May 17, 2026 at 4:06 pm

    Since any heuristic approach dealing in “likely” will need the ability to add further items to catch cases deemed “unlikely” but which were actually important, you can’t be “wrong” as such, just not “perfect”.

    With this in mind, I would take the opposite approach, and concentrate on those that are likely to have executables.

    1. Recurse through the directories contained in the directory %ProgramFiles%
      points to.
    2. Look in all other directories mentioned by the %Path% system variable (semicolon-delimited) but do not recurse it.
    3. Look for shortcuts on desktops, start menus and quicklaunch folders.

    As a rule, one would expect the former to find executables used by people selecting executables from the start menu and icons, and for the second to find executables used from the command-line and by the system. Between the two you’ll find the large majority of executables on a system with relatively little wasted directory examinations.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are writting silverlight3 application, which use Tcp connction. Our project use client server
I am writing code for uploading a file from a client to my server
I am writing a client-side Swing application (graphical font designer) on Java 5 .
I'm writing a client-server win32 application in Delphi 7 and in a section i
I am writing an application similar to a chat server-client pair. I am planning
I'm writing a php forms class with client and server side validation. I'm having
I`m writing client-server app for windows using WinSock and I have class for server.
I'm writing a client-server app using BSD sockets. It needs to run in the
I am writing a client/server app in C++ and need to realize simple protocol
I'm actually writing an MPI program. This is a basic client / server pattern.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.