Create and delete folders with dots

Source: Internet
Author: User

Appendix: Create a method that cannot open or delete files

Take creating a 6618. folder as an example:
1. Enter:
Md 6618 ../

2. You will find that a 6618. folder is built.

3. This folder cannot be deleted even if it cannot be opened by double-clicking it.

4. How to put the file in? You can use the COPY command to COPY the file.
Copy file name d:/6618 ../

5. How can I open this folder?
Enter the complete path and folder name in the running process.

6. How can I delete it?

Principle: Invalid windows Name is used.
Benefit: Think about it.
Friends who have used the dwarf DOS5.0 version should know that after installing it, there is an argho. File name in the partition. The generation principle is the same as what I post here. This is a bug in the nt series system. In dos or win9x, You can normally access this folder created by the nt System, but you cannot create this folder. If the NTFS format is used, 9X cannot be used. The virus uses other bugs in MS to attack. The Dwarf uses the BUG in MS to back up GHO. the most remarkable thing is: GHOST. EXE can recognize such folders in DOS-compatible with the BUG of MS.

Another type of folder can be opened normally and cannot be deleted.

Create: MD "D:/6618 /"

Deleted: RD/Q/S "D:/6618 /"

Note: It is best to have quotation marks with spaces, such as: "D:/6618 spaces/spaces"

Another invisible

Md d :/.../

RD/Q/s d :/.../
The folder is afu. if the folder contains files, you can type "rmdir afu .. /s command, press enter to prompt "afu .., are you sure you want to confirm (Y/N )?" Enter the y key to delete the folder .]

Note: This folder is invisible in the resource manager and can be seen at the command prompt.
Open Mode: Run (win + r) Input D :/.../

Note: When RD/s/q D:/.../is used, the D Drive files will be deleted !!!!!!!!!!

Add one, which can be opened normally and cannot be deleted through the resource manager.
Everyone knows that folders cannot be named by spaces in the resource manager.

Create: MD "D ://"

Delete: RD/Q/S "D ://"

Note: It is best to enclose quotation marks with spaces, for example, "D:/SPACE/Space"

Note:

1. If you create an invalid md 6618 ../folder.

Create a folder named 6618 in the resource manager. The original 6618. can be opened. But you cannot see the files in it. You can also delete the 6618. folder. However, if you delete the 6618. folder. The original file will go to the 6618 folder created later. The 6618 folder cannot be deleted. Cannot open.

But if you run *:/6618 ../, you can still see the file in it.

6618. If both the folder and the 6618 folder exist, you can change the 6618. folder to the 6618 folder. At this time, two 6618 folders exist simultaneously.
However, if you delete a folder and refresh it, it will still return 6618. Folder
In the command line of xp, you can easily create folders that cannot be deleted in this way, but they cannot be deleted in pure dos!

Md 6618 ../

2. Create a "bug folder" without "." and ":

1. md creates a folder with ".", such as: md 6618 ../
2. Create a common folder (the name is the same as above. ", no point, for example, right-click the common method to create the folder 6618)
3. Normal method to delete folders with dots
4. The 6618 folder that is left behind cannot be opened and deleted in common ways. It is used like the original 6618. file, that is, the name does not look "."

3. disguise the "bug folder"

1. Create a 6618. File
2. copy the file to 6618. File
3. Common 6618 File Creation
4. you can enable 6618. and 6618, and the two folders seem to use the same disk space, the normal method to copy to one of the folders, the other folder will have the same file. however, the file copied to the folder in step 1 is not displayed.
5. both files can be deleted using the normal method, But no matter which one is deleted (6618. or 6618), the remaining folder (6618 or 6618 .) and the 1st created in step 1. it has the same functions. Normal methods cannot be enabled or deleted.
6. commands to delete and add files are discussed together.
7. therefore, you can create a "bug folder" with the same name as a normal folder (only the name looks the same). You can put some files that you want to protect into it to avoid accidental deletion.

Some interesting phenomena:

1. Drag the file to this *. folder. Then, he will immediately generate a * (folder with the same name) and drag it into the file to be visible, but he will not see the file previously used to run D. And. If you use D:/* ../After dragging the file to view it. You cannot see the files dragged in. After you delete one of the two folders with the same name, Run D:/* ../to view them. Still cannot see the files dragged in.

2. Create a folder such as wuyou. Set it as a hidden property, and then use the WINRAR software to name its folder as WUYOU .. /As of now, the folder is generally undeletable and hidden. set the folder option to not show hidden files.

3. Currently, the folder cannot be accessed by using * ../in the "2000" run, and you can access it in XP.

4. Create a directory invisible to the resource manager in the partition. The partition must be in the FAT32 format and NTFS cannot be created.

5. In fact, the *. file in the partition can be deleted (note that the file is not a folder)
The method is as follows,
Use DIR/X to obtain the short file name of *. File.
Delete it with DEL.
Dir/X indicates the short name generated by a non-8dot3 file name. The format is/N, and the short name is inserted before the long name. If there is no short name, the position is blank.

Add

Here is a batch processing

You can quickly solve problems in the security mode.


@ Echo off
Echo "Stop virus process first"
Net stop "Kerberos Key Distribution Centers"

Echo "deleting a virus file on drive C"
DEL c: WINDOWSlsass.exe/F/Q/A R H S
DEL c: WINDOWSsetuprs1.pif/F/Q/A R H S
DEL c: WINDOWScmd.exe.exe/F/Q/A R H S
DEL c: WINDOWSegedit.exe.exe/F/Q/A R H S
DEL c: WINDOWS.exe/F/Q/A R H S

Echo "deleting files under the root directory of each partition needs to be adjusted according to the number of partitions on each computer"
RMDIR c: unauto.../S/Q
DEL c: autorun. */F/Q/A R H S
Rmdir d: unauto.../S/Q
Del d: autorun. */F/Q/A R H S
Rmdir e: unauto.../S/Q
Del e: autorun. */F/Q/A R H S
Rmdir f: unauto.../S/Q
Del f: autorun. */F/Q/A R H S
Rmdir g: unauto.../S/Q
Del g: autorun. */F/Q/A R H S
Rmdir g: unauto.../S/Q
Del g: autorun. */F/Q/A R H S
RMDIR h: unauto.../S/Q
DEL h: autorun. */F/Q/A R H S
RMDIR I: unauto.../S/Q
DEL I: autorun. */F/Q/A R H S

Copy c: WINDOWSegedit.exe h: windows#gedi.exe
Echo "The Registration Table editor has been registered as ghregedi.exe"

COPY h: windowssystem320000.exe h: windowssystem32gh0000.exe
Echo "the command line tool named ghcmd.exe"

Echo "the file has been deleted. Restart and clear Registry related items. "

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.