- May
- 13,126
- 180
Do you mean these?
Attached is a zipped EXE that will show the Explorer setttings.
Here's the code.
In spite of SHOWSYSFILES = 0, I see them in Explorer. This is a consequence of SHOWALLOBJECTS = 1. I commented on it more elaborately in another thread. Note that I have these:
Code:
REM v:\explorersettings.btm
echo ShowSysFiles = %@iniread[%_ininame,TakeCommand,ShowSysFiles]
echo ShowSuperHidden = %@iniread[%_ininame,TakeCommand,ShowSuperHidden]
echo ShowHiddenFiles = %@iniread[%_ininame,TakeCommand,ShowHiddenFiles]
echo ShowExtensions = %@iniread[%_ininame,TakeCommand,ShowExtensions]
Code:
v:\> v:\explorersettings.btm
ShowSysFiles = Yes
ShowSuperHidden = Yes
ShowHiddenFiles = Yes
ShowExtensions = Yes
Attached is a zipped EXE that will show the Explorer setttings.
Code:
v:\> p:\test\Release\test.exe
dwMask = 0x0004082b
SHOWSUPERHIDDEN = 1
DONTPRETTYPATH = 1
SHOWSYSFILES = 0
SHOWCOMPCOLOR = 1
SHOWEXTENSIONS = 1
SHOWALLOBJECTS = 1
Here's the code.
Code:
SHELLSTATE ss;
DWORD dwMask = SSF_SHOWSUPERHIDDEN | SSF_DONTPRETTYPATH | SSF_SHOWSYSFILES
| SSF_SHOWCOMPCOLOR | SSF_SHOWEXTENSIONS | SSF_SHOWALLOBJECTS;
wprintf(L"dwMask = 0x%8.8X\n", dwMask);
SHGetSetSettings(&ss, dwMask, FALSE);
wprintf(L"SHOWSUPERHIDDEN = %d\nDONTPRETTYPATH = %d\nSHOWSYSFILES = %d\n"
L"SHOWCOMPCOLOR = %d\nSHOWEXTENSIONS = %d\nSHOWALLOBJECTS = %d\n\n",
ss.fShowSuperHidden ? 1 : 0, ss.fDontPrettyPath ? 1 : 0, ss.fShowSysFiles ? 1 : 0,
ss.fShowCompColor ? 1 : 0, ss.fShowExtensions ? 1 : 0, ss.fShowAllObjects ? 1 : 0);
In spite of SHOWSYSFILES = 0, I see them in Explorer. This is a consequence of SHOWALLOBJECTS = 1. I commented on it more elaborately in another thread. Note that I have these: