Dialog box when opening folder? 6 replies

Please wait...

jimbo_0002

Yep

50 XP

2nd August 2007

0 Uploads

450 Posts

0 Threads

#1 6 years ago

Hey guys I'm just wondering if someone can help me out with some coding and tell me if its possible. I cant find anything on the net about such a thing.

Running win7 if that matters at all.

What I want is a dialog box to open up when opening a folder and ask you a question then you type "y or n", "Y" opens the folder and "N" closes the dialog and doesn't open the folder? and or putting a password on a folder instead of the "y or n" where the right pw opens and the wrong pw closes dialog box.

Can this be done using a notepad with a .bat file?

Thanks if anyone can help out




jimbo_0002

Yep

50 XP

2nd August 2007

0 Uploads

450 Posts

0 Threads

#2 6 years ago

Aww anyone?

I found this though - How to create a Password Protected Folder in Windows 7 – Simple Help

Kinda what I'm looking for but without the folder disappearing




MoreGun89

53 XP

28th July 2004

0 Uploads

2,426 Posts

0 Threads

#3 6 years ago

I'd think it'd be possible with a .bat or finding the appropriate .dll. Since you can already do that from the user interface of the OS, there has to exist at least a file you can look at and/or tweak. I know this answer's weaksauce, sorry.


Mother Banhammer



jimbo_0002

Yep

50 XP

2nd August 2007

0 Uploads

450 Posts

0 Threads

#4 6 years ago

Thanks anyways, I was just curious if this kind of stuff could be done or not. Ill keep having a looked around and post up if I find anything.




Nemmerle Forum Mod

Voice of joy and sunshine

298,291 XP

26th May 2003

0 Uploads

28,141 Posts

5 Threads

#5 6 years ago
jimbo_0002;5605849Can this be done using a notepad with a .bat file?

If you're giving the instruction to the OS not to open the file, and that's the extent of your precautions, then someone with higher level access than yourself, or who is using a different operating system, can just read the file directly. Either by taking ownership of the file through the admin tools, or by reading it right off the hard drive with another computer.

If you want to make a folder inaccessible to other people, you have to alter the files themselves through some reversible procedure that relies upon knowing a secret upon which the procedure was based. This is commonly known as encryption - and there are a great many programs out there that will do it for you.




D3matt

I take what n0e says way too seriously

50 XP

20th November 2007

0 Uploads

2,552 Posts

0 Threads

#6 6 years ago

Nemmerle;5607066If you're giving the instruction to the OS not to open the file, and that's the extent of your precautions, then someone with higher level access than yourself, or who is using a different operating system, can just read the file directly. Either by taking ownership of the file through the admin tools, or by reading it right off the hard drive with another computer.

If you want to make a folder inaccessible to other people, you have to alter the files themselves through some reversible procedure that relies upon knowing a secret upon which the procedure was based. This is commonly known as encryption - and there are a great many programs out there that will do it for you.

Um... NTFS permissions?

Also, all that bat file really does is mark the folder as a hidden system file.




Nemmerle Forum Mod

Voice of joy and sunshine

298,291 XP

26th May 2003

0 Uploads

28,141 Posts

5 Threads

#7 6 years ago
D3matt;5607142Um... NTFS permissions?
Spoiler: Show

testmw.png

test2l.png

test3ms.png

Unless there's some option I'm missing, I'm not overly impressed.