CN103699636A - Method for moving folder/file randomly under WIN7-32/64bit operating system - Google Patents

Method for moving folder/file randomly under WIN7-32/64bit operating system Download PDF

Info

Publication number
CN103699636A
CN103699636A CN201310718598.3A CN201310718598A CN103699636A CN 103699636 A CN103699636 A CN 103699636A CN 201310718598 A CN201310718598 A CN 201310718598A CN 103699636 A CN103699636 A CN 103699636A
Authority
CN
China
Prior art keywords
shell
under
file
sub
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310718598.3A
Other languages
Chinese (zh)
Inventor
裴炳南
李顺宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian University
Original Assignee
Dalian University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dalian University filed Critical Dalian University
Priority to CN201310718598.3A priority Critical patent/CN103699636A/en
Publication of CN103699636A publication Critical patent/CN103699636A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Abstract

The invention discloses a method for moving a folder/file randomly under a WIN7-32/64bit operating system. The method comprises: opening a registry editor, respectively opening the major key and sub-key of the registry editor, directly deleting the sub-key Shell under the catalogue, introducing an edited registry file. Therefore, the file/folder under the non-desktop catalogue can be randomly moved under the WIN7-32/64bit operating system.

Description

A kind of method that makes file/document location arbitrarily move under WIN7-32/64bit operating system
Technical field
The present invention relates to electricity field, relate in particular to a kind of method that makes file/document location arbitrarily move under WIN7-32/64bit operating system.
Background technology
At present, Windows operating system registration table general introduction: registration table is an important database in Microsoft Windows, for the configuration information of storage system and application program.When Windows3.0 releases OLE technology, registration table just occurs.The Windows NT releasing is subsequently that first is widely used the operating system of registration table from system level.But from Microsoft Windows95, registration table just really becomes the often content of contact of Windows user, and continues to use till today in operating system thereafter.
The origin of registration table: in Windows3.x operating system, registration table is a minimum file, its file is called Reg.bat, and the application program association of some file type has only been deposited in the inside, and most setting is placed in a plurality of initialization ini files such as Win.ini, System.ini.Because these initialization files are not easy to administer and maintain, often there is the problem that some are caused system to start because ini file destroys.In order to make system, move more stablely, healthy and strong, Windows95/98 designers have used the thought of the registration table in Windows NT, registration table is incorporated in Windows95/98 operating system, and the major part setting in ini file is also transplanted in registration table, therefore, registration table plays an important role in the startup of Windows95/98 operating system, operational process.
The effect of registration table: registration table is a core database in windows operating system, wherein depositing various parameters, directly control the startup of windows, the operation of the loading of hardware drive program and some windows application programs, thereby in whole system, playing central role.These effects have comprised relevant configuration and the status information of soft and hardware, such as preserving starting condition, preference and the unloading data etc. of application program and explorer shell in registration table, the setting of the whole system of Net-connected computer and various license, file extension is associated with application program, the description of hardware component, state and attribute, the system status information of performance inventory and other bottoms, and other data etc.
Registration table is the data file for all 32 hardware/drivings and 32 application programming in Windows NT and Windows95.16 drivings cannot be worked under WinNT, so all devices is all controlled by registration table, generally these are controlled by BIOS.Under Win95,16 drive and can continuation work with real pattern mode equipment, and they are controlled with system.ini.16 application programs can be operated under NT or Win95, and their program still can be with reference to win.ini and system.ini file acquired information and control.
In the situation that there is no registration table, operating system can not obtain the input that necessary information is come the attached equipment of operation and control and application program and correctly responded user.
The deposit position of registration table: 2000/XP registry file divides by function, all configuration informations of the registry file storage system also being formed by system registry list file and user's registry file two classes: system setting and default subscribers configuration data leave 6 files under Xi Tong Xi Tongwenjianjia SYSTEM32 CONFIG file in, DEFAULT, SAM, SECURITY, SOFTWARE, in USERDIFF and SYSTEM, and user's configuration information leave in system place disk Documents and Setting file, comprise ntuser.dat ntuser.ini ntuser.dat.log
The data structure of registration table: registration table consists of key (or title " item "), sub-key (subitem) and value.A key is exactly a file in branch, and sub-key is exactly the sub-folder in this file, and sub-key is a key equally.A value Xiang Ze is the current definition of a key, the value of title, data type and distribution, consists of.A key can have one or more values, and the title of each value is different, if the name of a value is called sky, this value is the default value of this key.As Fig. 1, registration table has 5 major keys:
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_CURRENT_CONFIG
The attribute of file/file: folder at will opens a file under Windows XP or Windows7 system, check " self-defined " option under attribute, in drop-down menu, there are " conventional ", " document ", " picture ", " music ", " video " these several, illustrate under Windows system, the type of All Files or file is all a kind of in these five kinds, and these five types of titles in registration table are respectively:
A conventional { 5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
Document { 7D49D726-3C21-4F05-99AA-FDC2C9474656}
Picture { B3690E58-E961-423B-B687-386EBFD83239}
Music { 94D6DDCC-4A68-4175-A374-BD584A510B78}
Video { 5FA96407-7E77-483C-AC93-691D05850DE8}
Windows XP and Windows7 are in the difference aspect move/folder location: under Windows XP operating system, the position of move/file arbitrarily, no matter what catalogue these file/files are under, no matter be at desktop or under general drive, the position of file/file all can be mobile arbitrarily by user, as Fig. 2-1 and Fig. 2-2; But under WIN7-32/64bit, the position of file/file cannot arbitrarily be moved, whether file can arbitrarily move is that control information with registration table is relevant.
Summary of the invention
Problem to be solved by this invention is exactly how under WIN7-32/64bit, arbitrarily to move the position of the file/file under non-desktop catalogue, therefore the present invention proposes a kind ofly by the mode of edit the registry, under WIN7-32/64bit operating system, make arbitrarily mobile method of file/document location.
A kind of method that makes file/document location arbitrarily move under WIN7-32/64bit operating system, comprise: open REGEDIT, open respectively major key and the sub-key of REGEDIT, directly delete the sub-key Shell under above-mentioned catalogue, import the registry file having editted.
Concrete: open REGEDIT, navigate to following catalogue: HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell Bags AllFolders Shell, open the sub-key Shell under above-mentioned catalogue, a newly-built sub-key under HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell Bags AllFolders Shell catalogue, and name;
Open newly-built sub-key, at newly-built two binary value FFlags and Mode, its value is appointed as respectively 0x43000001 and 0x4;
Under HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell Bags AllFolders Shell, distinguish again newly-built four sub-keys;
And then newly-built two scale-of-two FFlags, Mode under these four newly-built sub-keys respectively, its value is appointed as respectively 0x43000001 and 0x4;
Navigate to catalogue HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell Bags, delete the item with numeral name.
Said method, also comprise: AllFolders item derive is preserved, delete whole HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Bags item under Shell catalogue;
And then HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows a newly-built item that is Bags under Shell catalogue, the AllFolders item of just having derived is directly imported in Bags item;
HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft the sub-key of Shell under windows directory derive and preserve;
Preserve and revise, closing registration table editing machine.
Effect of the present invention: realized the position of arbitrarily moving the file/file under non-desktop catalogue under WIN7-32/64bit.
Accompanying drawing explanation
Technical scheme for clearer explanation embodiments of the invention or prior art, by the accompanying drawing of required use in embodiment or description of the Prior Art being done to one, introduce simply below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic diagram of the registration table that Fig. 1 provides for the embodiment of the present invention;
The location drawing of file/file that Fig. 2-1 provides for the embodiment of the present invention;
The location drawing of file/file that Fig. 2-2 provide for the embodiment of the present invention;
The position view of the REGEDIT that Fig. 3-1 provides for the embodiment of the present invention;
The major key of opening respectively registration table that Fig. 3-2 provide for the embodiment of the present invention and the schematic diagram of sub-key;
Under the Shell catalogue that Fig. 4 provides for the embodiment of the present invention, there are a lot of sub-key schematic diagram;
The schematic diagram of the newly-built sub-key that Fig. 5 provides for the embodiment of the present invention;
The schematic diagram of each sub-key that Fig. 6 provides for the embodiment of the present invention;
The block diagram that the batch program that Fig. 7 provides for the embodiment of the present invention moves.
Embodiment
For making object, technical scheme and the advantage of embodiments of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is known to complete description:
The embodiment of the present invention provides a kind of method that makes file/document location arbitrarily move under WIN7-32/64bit operating system, comprising:
1, open REGEDIT, for example: unfolding mode can go out to input regedit for the direct position starting, concrete, as Fig. 3-1.
2, open respectively following major key and sub-key.As Fig. 3-2, as:
HKEY_CURRENT_USER\Software\Classes\Local?Settings\Software\Microsoft\Windows。
3, directly delete the sub-key Shell under above-mentioned catalogue.
4, import the registry file (.reg) having editted.
First, some information of sub-key Shell under the catalogue of edit the registry file, and then Shell is derived to preserve.
Concrete modification process is as follows: open REGEDIT, navigate to following catalogue: HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell Bags AllFolders Shell.
Open the sub-key Shell under above-mentioned catalogue, can see under Shell catalogue and have a lot of sub-keys, as shown in Figure 4.
A newly-built sub-key under HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell Bags AllFolders Shell catalogue, called after { 5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}.
Open newly-built sub-key, can see the string value (REG_SZ) of an acquiescence, its value is unspecified, for this string value, does not need to carry out any modification.Then at newly-built two binary values (REG_DWORD) FFlags, Mode, their value is appointed as respectively to 0x43000001 and 0x4, as Fig. 5.
Under HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell Bags AllFolders Shell, distinguish again newly-built four sub-keys
{7D49D726-3C21-4F05-99AA-FDC2C9474656}、
{B3690E58-E961-423B-B687-386EBFD83239}、
{94D6DDCC-4A68-4175-A374-BD584A510B78}、
{5FA96407-7E77-483C-AC93-691D05850DE8}
And then newly-built two scale-of-two (REG_DWORD) FFlags, Mode under these four newly-built sub-keys respectively, value is appointed as respectively 0x43000001 and 0x4.
When above work all completes, carry out operation below:
Navigate to catalogue HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell Bags.Can see, there is item and an item that is AllFolders of much naming with numeral the inside, and what will do now is exactly to delete these with the item of numeral name, because these existence just becomes impossible by random move/file, as Fig. 6.These items with numeral name have been too much really, delete and become pretty troublesome one by one.
Introduce a good method below: first AllFolders item is derived and preserved, then directly delete whole HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Bags item under Shell catalogue, and then HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows a newly-built item that is Bags under Shell catalogue, the AllFolders item of just having derived is directly imported to Bags item.
HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft the sub-key of Shell under windows directory derive and preserve.
Preserve and revise, closing registration table editing machine.
When user has this custom or demand, need the registry file (.reg) importing.If when user does not like this modification, while wanting to get back to the default conditions of WIN7-32/64bit, also be possible, because before importing this registry file, user ID HKEY_CURRENT_USER before unmodified Software Classes Local Settings Software Microsoft Windows the sub-key of Shell, for avoiding trouble, can write a little batch program (.bat), user is removed from and find the sub-key of HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell, and the trouble that manually derivation is preserved.Use this batch program, will the registry file of deriving is kept under C packing catalogue, " nonvoluntary mobile .reg " by name, the block diagram of this batch program operation is as Fig. 7.
The source code of this batch program is as follows:
@echo?off
Reg export " HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows Shell " c: nonvoluntary mobile .reg
@pause
Although be only three line codes, make user save a lot of troubles, saved the plenty of time.
After above-mentioned Registry Modifications, as mentioned above, there are two files in the present invention, one is the batch program (.bat) for deriving and preserve registration table, another is to have revised the derived registry file (.reg) that can make file/file arbitrarily be moved, user only needs two steps to get final product complete operation: operation batch program, and double-click the registry file editting, import.When carrying out backup registry and importing registry operations, any file/file under any subregion and any drive all can not be opened, otherwise can cause file/folder location under a certain subregion to move attribute modification failure.Batch program must be placed in desktop or USB flash disk and move.Must wait until after batch program end of run that bolt down procedure dialog box just can be carried out the importing work of registration table.
It should be noted that: in practical operation, prove, in all 8 kinds of state models of file/file, except still not moving freely file/file under " list " and " state " pattern, under remaining 6 kinds of pattern " super large icon ", " large icons ", " medium icon ", " small icon ", " details ", " tiling of expansion ", modification is that successfully this can meet most people's demand.If user wants to return to system default situation, only need that the registry file (.reg) that is named as " nonvoluntary movement " is imported to registration table again and get final product (introduction method is directly to double-click this registry file).
In embodiments of the invention, application platform is with the obvious advantage, not only can on WIN7-32bit, successfully operate, can also on WIN7-64bit, successfully revise, and no matter be which platform computing machine, so long as WIN7 system just can successfully be revised.File is small and exquisite.In the situation that not compressing, the total size of registry file and batch program is also no more than 3M, and in the situation that using the compression of RAR program, always size, less than 150KB, makes copy and deposit to become extremely simple and light.Can make numerous users that have been accustomed to Windows XP that operating system is replaced with after Windows7, can also continue to use the random mobility of file/folder location in XP system, many a cordial feeling and senses of ownership.Can improve the aesthetics of file/file putting position, promote work efficiency.Conversion easily.User can be transformed into the target modification state of this creation easily from system default state, also can return to easily system default state, double-clicks gently mouse and can realize.

Claims (3)

1. one kind makes the random mobile method of file/document location under WIN7-32/64bit operating system, it is characterized in that, comprise: open REGEDIT, open respectively major key and the sub-key of REGEDIT, directly delete the sub-key Shell under above-mentioned catalogue, import the registry file having editted.
2. a kind of arbitrarily mobile method of file/document location that makes under WIN7-32/64bit operating system as claimed in claim 1, it is characterized in that, the described REGEDIT of opening, open respectively major key and the sub-key of REGEDIT, directly delete the sub-key Shell under above-mentioned catalogue, import the registry file having editted, comprising:
Open REGEDIT, navigate to following catalogue: HKEY_CURRENT_USER Software Classes LocalSettings Software Microsoft Windows Shell Bags AllFolders Shell, open the sub-key Shell under above-mentioned catalogue, a newly-built sub-key under HKEY_CURRENT_USER Software Classes LocalSettings Software Microsoft Windows Shell Bags AllFolders Shell catalogue, and name;
Open newly-built sub-key, at newly-built two binary value FFlags and Mode, its value is appointed as respectively 0x43000001 and 0x4;
Under HKEY_CURRENT_USER Software Classes LocalSettings Software Microsoft Windows Shell Bags AllFolders Shell, distinguish again newly-built four sub-keys;
And then newly-built two scale-of-two FFlags, Mode under these four newly-built sub-keys respectively, its value is appointed as respectively 0x43000001 and 0x4;
Navigate to catalogue HKEY_CURRENT_USER Software Classes LocalSettings Software Microsoft Windows Shell Bags, delete the item with numeral name.
3. a kind of arbitrarily mobile method of file/document location that makes under WIN7-32/64bit operating system as claimed in claim 1, it is characterized in that, also comprise: AllFolders item derive is preserved, delete whole HKEY_CURRENT_USER Software Classes LocalSettings Software Microsoft Windows Bags item under Shell catalogue;
And then HKEY_CURRENT_USER Software Classes LocalSettings Software Microsoft Windows a newly-built item that is Bags under Shell catalogue, the AllFolders item of just having derived is directly imported in Bags item;
HKEY_CURRENT_USER Software Classes LocalSettings Software Microsoft the sub-key of Shell under windows directory derive and preserve;
Preserve and revise, closing registration table editing machine.
CN201310718598.3A 2013-12-20 2013-12-20 Method for moving folder/file randomly under WIN7-32/64bit operating system Pending CN103699636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310718598.3A CN103699636A (en) 2013-12-20 2013-12-20 Method for moving folder/file randomly under WIN7-32/64bit operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310718598.3A CN103699636A (en) 2013-12-20 2013-12-20 Method for moving folder/file randomly under WIN7-32/64bit operating system

Publications (1)

Publication Number Publication Date
CN103699636A true CN103699636A (en) 2014-04-02

Family

ID=50361164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310718598.3A Pending CN103699636A (en) 2013-12-20 2013-12-20 Method for moving folder/file randomly under WIN7-32/64bit operating system

Country Status (1)

Country Link
CN (1) CN103699636A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861985A (en) * 2017-10-12 2018-03-30 中国煤炭地质总局九勘探队 A kind of batch processing method for extracting multiple sub-folders similarly hereinafter class file
WO2019001143A1 (en) * 2017-06-30 2019-01-03 武汉斗鱼网络科技有限公司 File directory ordering method, apparatus, electronic device, and computer-readable medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6356915B1 (en) * 1999-02-22 2002-03-12 Starbase Corp. Installable file system having virtual file system drive, virtual device driver, and virtual disks
CN101923553A (en) * 2009-06-11 2010-12-22 鸿富锦精密工业(深圳)有限公司 Installation method of FAT (File Allocation Table) file system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6356915B1 (en) * 1999-02-22 2002-03-12 Starbase Corp. Installable file system having virtual file system drive, virtual device driver, and virtual disks
CN101923553A (en) * 2009-06-11 2010-12-22 鸿富锦精密工业(深圳)有限公司 Installation method of FAT (File Allocation Table) file system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LAVENDE的恋4: "http://wenda.so.com/q/1364582840065851", 《360问答》 *
城市蜗牛: "http://blog.sina.com.cn/s/blog_6f3bb20c0100w7j7.html", 《新浪微博》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019001143A1 (en) * 2017-06-30 2019-01-03 武汉斗鱼网络科技有限公司 File directory ordering method, apparatus, electronic device, and computer-readable medium
CN107861985A (en) * 2017-10-12 2018-03-30 中国煤炭地质总局九勘探队 A kind of batch processing method for extracting multiple sub-folders similarly hereinafter class file

Similar Documents

Publication Publication Date Title
CN101650660B (en) Booting a computer system from central storage
US20170068469A1 (en) Remote Shared Virtual Disk Snapshot Creation
JP2008547074A5 (en)
CN102708064A (en) Multi-phase resume from hibernate
US9792075B1 (en) Systems and methods for synthesizing virtual hard drives
US20190340083A1 (en) Configurable recovery states
JP6209861B2 (en) Extensible method and system for stored metadata
US20110225365A1 (en) Emulating a computer system on a removable storage device
CN110209735A (en) Database backup method, calculates equipment and storage medium at DB Backup device
CN103502933A (en) Dynamically redirecting boot to another operating system
US20140123039A1 (en) Auto Localization
CN102289513A (en) Method and system for obtaining internal files of virtual machine
US20070294703A1 (en) System and Method for Migration of Information From a Legacy to a Replacement Information Handling System
US20120284495A1 (en) System and Method for Facilitating Booting Using a Plurality of Boot Methods
US20130179414A1 (en) Mechanisms for connecting files between applications
US10514940B2 (en) Virtual application package reconstruction
CN103699636A (en) Method for moving folder/file randomly under WIN7-32/64bit operating system
US10083052B1 (en) Streamlined remote application streaming technology configuration and usage
CN107409086A (en) Mass Data Management is carried out in communication applications by multiple mailboxes
US10564894B2 (en) Free space pass-through
US20160041782A1 (en) Storage Device Copying of a larger system to a smaller system
US9075635B1 (en) Systems and methods for merging virtual layers
US10733142B1 (en) Method and apparatus to have snapshots for the files in a tier in a de-duplication file system
CN102279735A (en) Implementation method for integration of file management software and application software
CN109478181A (en) System and method for making it possible to modify multiple data objects in file system volume

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140402