setting folder options from VC++

Posted on 1998-12-10
Last Modified: 2012-08-13
i am trying to hide/show file extensions within Win95 folders from within a VC++ program.

Thanx in advance
Question by:pbranagan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4

Accepted Solution

stsanz earned 100 total points
ID: 1179823
On Win98/IE4, modify the following key :
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, value HideFileExt
Set value to 0 to show file extensions
Set value to 1 to hide file extensions

On Win95/IE3, modify the following key :
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer, value ShellState
Set 5th octet of value to 3 to show file extensions
Set 5th octet of value to 1 to hide file extensions

Do you need some source code to modify these keys ?


Author Comment

ID: 1179824
source code would be great!


Author Comment

ID: 1179825
source code would be great!


Author Comment

ID: 1179826
source code would be great!


Author Comment

ID: 1179827
source code would be great!


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Find Visual Studio Tools 2 135
Need some help with Microsoft Visual Studio C++ 2003 5 86
Header of docx file 17 143
find Speed using GPS latitude & longitude 4 158
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question