China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 22:07
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Repost] Example of a Method to Encrypt the window Folder View 1,804 Replies 3
Original Poster Posted 2004-02-03 00:00 ·  中国 广东 深圳 电信
初级用户
Credits 111
Posts 2
Joined 2004-02-03 00:00
22-year member
UID 16642
Gender Male
Status Offline
1. Open the folder to be password-protected, select "Custom Folder", choose to edit the HTML template of this folder, and click "Next".
2. In the opened FOLDER file, find SCRIPT LANGUAGE="JAVASCRIPT" and enter the following at the top below it:
var pass = prompt("Please enter the password"
if(pass != "123"
{window.location="c:"}

After modification, save and exit, click Finish. Enter the password you set in the first password prompt box to enter, then exit and enter again to take effect. "123" can be changed to the password you want.
Floor 2 Posted 2004-02-04 00:00 ·  中国 辽宁 沈阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
The LZ should probably post the thread in the Windows series, Unix/Linux and other operating systems section!
This information seems to have been seen in "Computer Post".
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 3 Posted 2006-08-05 08:38 ·  中国 河南 济源 联通
中级用户
★★
Credits 343
Posts 50
Joined 2004-02-21 00:00
22-year member
UID 18062
Gender Male
Status Offline
It seems not to work under XP.
Floor 4 Posted 2006-08-05 10:59 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
Haha, copying from CFan magazines from years ago~~~ Let me tell you, Microsoft has already abandoned this useless thing! XP can support it, but it's very roundabout.

This encryption is too easy to crack, just turn off the HTML browsing method in the Folder Options.

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Forum Jump: