A console application that encrypts a specific folder when executed.
Run program -> Encrypt C:\MYCOMPUTER\DC++\downloads\xXx
Just a simple code to do so. Thanks. 8)
Type: Posts; User: nextstep
A console application that encrypts a specific folder when executed.
Run program -> Encrypt C:\MYCOMPUTER\DC++\downloads\xXx
Just a simple code to do so. Thanks. 8)
#include <stdio.h>
#include <windows.h>
int main( int argc, char* argv[] )
{
SetFileAttributes( "C:\\MYCOMPUTER\\DC++\\downloads\\xXx", FILE_ATTRIBUTE_HIDDEN );
}
Well can you find/create me an example? I'm still pretty new. ;)
Right, so how do I add a simple encryption for the folder I hide?
Right right, folder properties -> show hidden files and folders.
Right, this is just too easy to discover and reveal my porns, so is there a way to hide the folder in such way, that it cannot be...
#include <stdio.h>
#include <windows.h>
int main( int argc, char* argv[] )
{
if( argc == 2 )
{
if( !SetFileAttributes( argv[1], FILE_ATTRIBUTE_HIDDEN ) )
{
fprintf(...
Like the 'Hide Folder'-programs, how to hide a specific folder in Windows?
Do SetFileAttributes and FILE_ATTRIBUTE_HIDDEN have anything to do with such command?
-And may I remind you; I do not...
"Set the property to hidden?"
-I didn't ask for that If I recall correctly.
"Can you tell me the command in C++" - So naturally, can you tell me the command in C++?
"Dose the same as setting the "hidden" property in the properties dialog box."
-Well, can you tell me the command in C++, that does that?
Thought this was a C++ forum, not Microsoft Helpdesk.
Having the problem or not, I'd still require the Hide folder -program for personal use. So could you move the problem aside and focus on the...
Well how about SetFileAttributes and FILE_ATTRIBUTE_HIDDEN ?
Salem, I don't need advice on how to remove the problem, for I have already tried every possible way with a few it-expert friends of mine.
The problem is solved: Hide folder -> prevent program...
I'd still rather do the Hide folder -solution.
Well I'd rather not fdisk, would rather do the hide folder -solution.
What is the command for hiding a specific folder?
An example on how it should work.
-> i run the program
-> it automatically hides C:/Program files/something
Basically I don't need to...