| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
New Text File Creation!
hello,
i had installed an ASP editor which also supports text file and many others. but i didn't find that editor suitable for ASP development, so, i un-installed that. the problem i am facing now is that when i right click on windows explorer, there is an option New in the menu but inside New, no option for creating new text file. all other new file options and new folder option is there. same is the case that on menu bar in windows explorer, no option for new text file in File menu. can any one help me how can i recover from that as new text file option is really important. |
|
#2
|
||||
|
||||
|
hello.
i want you to save the following code as a .reg file and execute it by double clicking on it Code:
[HKEY_CLASSES_ROOT\Directory]
@="File Folder"
"AlwaysShowExt"=""
"EditFlags"=dword:000001d2
"InfoTip"="prop:DocComments"
"BrowserFlags"=dword:00000008
[HKEY_CLASSES_ROOT\Directory\Background]
[HKEY_CLASSES_ROOT\Directory\Background\shellex]
[HKEY_CLASSES_ROOT\Directory\Background\shellex\Con textMenuHandlers]
[HKEY_CLASSES_ROOT\Directory\Background\shellex\Con textMenuHandlers\New]
@="{D969A300-E7FF-11d0-A93B-00A0C90F2719}"
[HKEY_CLASSES_ROOT\.txt]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"
[HKEY_CLASSES_ROOT\.txt\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\.txt\ShellNew]
"NullFile"=""
let me know if this helps ![]() |
|
#3
|
|||
|
|||
|
No, it wont work. an error message is returned.
Quote:
|
|
#4
|
||||
|
||||
|
what was the error it gave you ?.. maybe i made a mistake in my code somewhere ?
|
|
#5
|
|||
|
|||
|
The error is:
"The specified error is not a registry script. You can only import binary registry files from within the registry editor." Quote:
|
|
#6
|
||||
|
||||
|
i dont understand it ? what version of windows are you using ? the code i agve you works fine for me on windows xp. when you rename it, the icon of the file should change to that of registry edit files.
i have added one line in the start of the file. please save this now as a reg file and click it. Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory]
@="File Folder"
"AlwaysShowExt"=""
"EditFlags"=dword:000001d2
"InfoTip"="prop:DocComments"
"BrowserFlags"=dword:00000008
[HKEY_CLASSES_ROOT\Directory\Background]
[HKEY_CLASSES_ROOT\Directory\Background\shellex]
[HKEY_CLASSES_ROOT\Directory\Background\shellex\Con textMenuHandlers]
[HKEY_CLASSES_ROOT\Directory\Background\shellex\Con textMenuHandlers\New]
@="{D969A300-E7FF-11d0-A93B-00A0C90F2719}"
[HKEY_CLASSES_ROOT\.txt]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"
[HKEY_CLASSES_ROOT\.txt\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\.txt\ShellNew]
"NullFile"=""
|
|
#7
|
|||
|
|||
|
hello, thanks your this code works fine and solve my problem. once again thanks a lot.
|
|
#8
|
||||
|
||||
|
anytime mate...
![]() |
![]() |
| Viewing: ASP Free Forums > System Administration > Windows OS > New Text File Creation! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|