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-27 03:52
中国DOS联盟论坛 » 其它操作系统综合讨论区 » <Help>How to hide a folder using DOS? View 3,316 Replies 9
Original Poster Posted 2008-04-15 11:08 ·  中国 江西 南昌 电信
新手上路
Credits 8
Posts 2
Joined 2008-04-15 10:44
18-year member
UID 115947
Gender Male
Status Offline
I once saw an article about hiding files with DOS. It said to enter something in Start - Run, but I don't remember the details exactly. After completion, it can't be opened under Windows, the attribute size is zero when checking, and it can't be deleted either. It can only be operated under DOS commands. I'm a student living in the dormitory, and there are some things I don't want roommates to see. I think this method is good. I hope friends who know will tell me. Thanks a lot!!!
Floor 2 Posted 2008-04-15 11:33 ·  中国 广东 茂名 化州市 电信
中级用户
★★
Credits 396
Posts 183
Joined 2007-12-23 06:24
18-year member
UID 106531
Gender Male
Status Offline
attrib 文件夹 +s +r +h&cacls 文件夹 /e /d everyone
Floor 3 Posted 2008-04-15 12:07 ·  中国 北京 华为云
银牌会员
★★★
Credits 1,436
Posts 739
Joined 2007-10-11 17:44
18-year member
UID 99469
Gender Male
Status Offline
The landlord is probably talking about folders with dots. Don't post the same content multiple times. Delete one.
Floor 4 Posted 2008-04-19 09:23 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,284
Posts 538
Joined 2002-11-02 00:00
23-year member
UID 129
Gender Male
Status Offline
```
@echo off
cls
echo Backup files using a folder that cannot be "accessed or deleted"
echo.
echo Create directory md b:\director..\ md b:\...\
echo.
echo Copy file copy filename.ext b:\director..\ copy filename.ext b:\...\
echo.
echo Access directory start b:\director..\ start b:\...\
echo.
echo Execute file start b:\director..\filename.ext start b:\...\filename.ext
echo.
echo Delete directory rd b:\director..\ /s /q rd b:\...\ /s /q
echo.
pause
```
Floor 5 Posted 2008-05-24 19:07 ·  中国 广东 深圳 罗湖区 电信
初级用户
★★
Credits 160
Posts 82
Joined 2007-05-14 14:55
19-year member
UID 88494
Gender Male
Status Offline
Good
Floor 6 Posted 2008-05-24 19:23 ·  中国 江苏 苏州 电信
中级用户
★★
Credits 238
Posts 98
Joined 2007-04-10 07:50
19-year member
UID 84593
Gender Male
From 陕西
Status Offline
It is recommended that you use software encryption tools, which can be visible encryption or hidden encryption. It is somewhat inconvenient to use DOS for this problem. For this issue, search for "Folder Lock Master" on Baidu.
一切皆有可能!我行!我能!
Floor 7 Posted 2008-05-25 10:58 ·  中国 湖北 武汉 联通
新手上路
Credits 2
Posts 1
Joined 2008-05-25 04:13
18-year member
UID 119630
Gender Male
Status Offline
I created such a folder under F:

Enter F: in DOS
Enter the following command
md *..\
Floor 8 Posted 2008-05-25 21:21 ·  中国 吉林 吉林市 电信
新手上路
Credits 16
Posts 6
Joined 2008-05-25 19:48
18-year member
UID 119686
Gender Male
Status Offline
Run cmd
cd\
md aaa..\
In this way, the aaa. folder is established. Generally, it cannot be opened or deleted.

The following is to solve the opening problem.
Run cmd
cd\
start c:\aaa..\
In this way, you enter the folder. Note that it must be an absolute address. The command start aaa.. may not work.
After opening, you can add and manage files in it.

If you want to view information,
Select the files in aaa. and right-click to select Properties to display them.

If you want to delete this file,
First, use the instruction you just entered to select all files and delete them.
Then, you need to do it in cmd.
cd\
rd c:\aaa..\
In this way, it can be deleted.

Congratulations! You are the first post I answered!
Floor 9 Posted 2008-05-26 12:35 ·  中国 吉林 吉林市 电信
新手上路
Credits 16
Posts 6
Joined 2008-05-25 19:48
18-year member
UID 119686
Gender Male
Status Offline
I'm using the command prompt in the forum to browse posts, which is quite interesting. type id is to display, edit id is to reply. It's quite difficult to get started. Ctrl+Enter is to submit, Esc or Ctrl+C is to exit.
Floor 10 Posted 2008-05-31 18:06 ·  中国 江苏 连云港 电信
新手上路
Credits 10
Posts 5
Joined 2008-05-12 17:10
18-year member
UID 118503
Gender Male
Status Offline
Forum Jump: