The folder (system.) cannot be deleted. When it is opened, the system prompts "A unavailable location is referenced ".

Source: Internet
Author: User

A colleague said a few days ago that some folders on the home computer need to be encrypted. I hope I can help him find a solution, so I tried n folder encryption software on my computer, in the end, it is best to test "Hongjie folder encryption", which is free of charge.

But after the test, I used to experiment with a folder (there is a dot behind the folder .. The directory name is followed by a vertex) cannot be deleted, as shown in Figure 1:

 

The following message is displayed: "An unavailable location is referenced" 2:

 

Search online:

Method 1: Run the "chkdsk/f n:" command (check and fix the command) in the CMD command prompt. In many cases, this method is good, but it fails for me.

 

Method 2:Various software shredders use RAR software to "compress and delete" and fail in my case.

 

 Method 3: run the command "rmdir C:/s ../s" in the CMD command prompt, but the result is still unsuccessful.

My final solution:

Use "mkdir C:/s. /"command to create a folder (displayed as" S "), the folder" s. "It can be opened, and I will delete it again.

Hope you can help me with similar problems !!

 

Articles inspired me:

====================================

Everyone knows that the "/" symbol in Windows is the path separator. For example, "C:/Windows/" means the Windows folder in the C partition, "C: the system.exe file in the Windows folder in the/Windows/system.exegion C partition is as follows:
What if the file name contains the "/" symbol? Assume that "s/" is the name of a folder. The folder is located at "F:/" and its path is "F:/S /", when we try to access the file, Windows will mistakenly think that the file we want to open is the S folder of the C partition, so that Windows cannot be opened and an error will be returned, because the preceding path does not exist.
Maybe you are creating the "S/" file, but windows will prompt you that the "/" symbol cannot be used as the name of the file or folder. It seems that Windows has come up with this idea. OK. Do not believe that you cannot create a file containing the "/" symbol. Kkw. l uei5z
Now open your computer and we have to make some interesting attempts. After entering windows, click Start> Run, enter "cmd", and run the car (if it is Win98, enter "command"). Then you will see the Windows command console, we just want to use it to complete our remaining tests. The following commands contain the characters {} in my comments:
----------------------------------------------
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
F:/test> mkdir S/{our first attempt. As a result, only the S folder "/" created in Windows is ignored}
(H0f:/test> mkdir S/S1/{still failed. In Windows, the S folder is created first, and then the S1 folder is created in S}
F:/test> mkdir S./{"S./" is parsed to S "./" and ignored again}
The subdirectory or file S./already exists.
F:/test> mkdir s ../{finally succeeded. Now you can see "S." In resource manager, but it cannot be opened/deleted}
F:/test> mkdir s.../{succeeded again. In the resource browser, You can see "s .." can be opened but cannot be deleted}
----------------------------------------------
Why? Let's talk about the "s. "folder, which cannot be opened or deleted. It cannot be opened because its actual path is" F:/test/s .. /"(we can determine the actual path we created) but the name in Windows Resource Manager is changed to" s. "That is, when you try to open it, Windows actually tries to open" F:/test/s. /"of course, it cannot be opened, and the file does not exist, so windows will report an error. It cannot be deleted because of this. In Windows, parsing an actual file path error as a non-existent path and performing operations cannot be completed.
The file "s .." can be opened but cannot be deleted. Wait ...... Open? Do you think windows really opened the "S.../" file we created? You will understand the experiment below. Or the old rule {} is my comment for your understanding:
----------------------------------------------
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
F:/test> Echo 1> txt1.txt {create the "F:/test/txt1.txt" file}
F:/test> copy txt1.txt s ../{copy the file you just created to "s ../", that is, "S."} of the resource manager ."}
1 file has been copied.
F:/test> Echo 2> txt2.txt {create the "F:/test/txt2.txt" file}
F:/test> copy txt2.txt s ../{copy the file you just created to "s.../", resource manager's "s .."}
1 file has been copied.
---------------------------------------------
Now go back to your resource manager and open the "s .." folder. What do you see? “Txt1.txt "file how can be found here? We did just copy "S? Is opening the "s .." folder actually opening "S ."? That's true. In fact, if you create another "S" folder, "S." can be opened, but "S" is actually opened ".
"How can I delete it ?", It is not difficult to delete it, but the conventional method cannot be deleted. There are two options: 1. Enter dos deletion (not recommended ). 2. Enter the command prompt and enter "rmdir directory name". The directory name is the name you created. If you forget it, check it in the resource manager and add ". /". If the prompt "the folder is not empty", add the "/s" parameter. Delete an instance:
----------------------------------------------
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
F:/test> dir
The volume in drive F is bgting
The serial number of the volume is 2c8e-fe1c.
F:/test directory
9 bytes for one file
Directory 3,390,029,824 bytes available
F:/test> rmdir s .. the directory is not empty.
F:/test> rmdir s .. // s
S ../, are you sure you want to confirm (y/n )? Y
F:/test> rmdir s... // s
S.../, are you sure you want to confirm (y/n )? Y

Summary:
1. Create "x .." in Windows .. /"folder, the folder will not be deleted through the conventional method, but you can copy the file into, in the resource manager is displayed as" x. ", the error points to the" X "folder. (Hey, why is it a shortcut ?)
2. Create "x ../" by entering "mkdir x ../" in the command line ../".
You can delete it by entering "rmdir directory name" in the command line. The directory name is the name you created. If you forget it, you can view it in the resource manager and add ". /". If the prompt "the folder is not empty", add the "/s" parameter.
Bytes --------------------------------------------------------------------------------------------------
Create an empty name folder
Here the empty name folder, mainly refers to the folder name is blank, specifically the folder name is a space character, this type of special folder can not only be accessed in the MS-DOS window, it can also be accessed in the Windows window, or even compressed or decompressed using a compression tool such as WinZip. While creating an empty name folder on the Windows interface is a very simple thing, in fact we can switch our minds into the MS-DOS window and take advantage of the long-overdue "MD" command, you can also create a special folder named space. The creation steps are as follows:
First, click the start button on the system desktop and run the run command in the Start Menu. In the displayed system run dialog box, enter the string command "cmd ", click the Enter key to switch the system status to the doscommand line status ;}
Then, at the command line prompt in the MS-DOS window, run the "cd" command to enter the directory where the blank folder is to be created, and then enter the string command "MD + space" under the doscommand line ", then press the alt function key on the keyboard and enter the number "255" on the keypad. the ASCII code of the space character will automatically appear after the "MD" command, after you click the Enter key, a special folder named blank under the specified directory appears. We are good at using blank folders. Sometimes we can hide some important privacy information to protect privacy.
2. Create a device folder
Although in windows, we can also create some empty name folders composed of spaces, but there are some more special folders that we cannot directly create on the Windows window interface, for example, the console device folder "con" and the printer device folder "PRN". When we try to create special folders such as "con" and "PRN" in windows, the computer often automatically adds the folder name to "new folder ". Obviously, to create a special folder with the system device name as the folder name, you must use a special creation technique.
To do this, follow these steps:
First, click the start button on the system desktop and run the run command in the Start Menu. In the displayed system run dialog box, enter the string command "cmd ", click the Enter key to switch the system status to the doscommand line status;
Then, at the command line prompt in the MS-DOS window, run the "cd" command to enter the directory where the empty folder is to be created, then, enter the string command "MD + device name +/" () in the doscommand line and click Enter. Then, a special folder named blank appears under the specified directory. Considering that the device folder cannot be deleted in windows, we are good at using the device folder. Sometimes we can use it to save important information, to prevent such information from being deleted by others.

This article from the hacker base-the world's largest Chinese hacker site Source: http://www.hackbase.com/tech/2008-06-16/41020.html

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.