Windows OS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationWindows OS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 20th, 2005, 08:07 AM
mansoorafzal mansoorafzal is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Lahore
Posts: 139 mansoorafzal User rank is Private First Class (20 - 50 Reputation Level)mansoorafzal User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 20 h 12 m 7 sec
Reputation Power: 4
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.

Reply With Quote
  #2  
Old May 20th, 2005, 08:44 AM
oneMSBi's Avatar
oneMSBi oneMSBi is offline
Caution:Loderator Moose !
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: India
Posts: 235 oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 22 h 49 m 43 sec
Reputation Power: 6
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

Reply With Quote
  #3  
Old May 20th, 2005, 09:42 AM
mansoorafzal mansoorafzal is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Lahore
Posts: 139 mansoorafzal User rank is Private First Class (20 - 50 Reputation Level)mansoorafzal User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 20 h 12 m 7 sec
Reputation Power: 4
No, it wont work. an error message is returned.
Quote:
Originally Posted by David Beckham
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

Reply With Quote
  #4  
Old May 20th, 2005, 10:54 AM
oneMSBi's Avatar
oneMSBi oneMSBi is offline
Caution:Loderator Moose !
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: India
Posts: 235 oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 22 h 49 m 43 sec
Reputation Power: 6
what was the error it gave you ?.. maybe i made a mistake in my code somewhere ?

Reply With Quote
  #5  
Old May 20th, 2005, 11:11 AM
mansoorafzal mansoorafzal is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Lahore
Posts: 139 mansoorafzal User rank is Private First Class (20 - 50 Reputation Level)mansoorafzal User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 20 h 12 m 7 sec
Reputation Power: 4
The error is:
"The specified error is not a registry script. You can only import binary registry files from within the registry editor."

Quote:
Originally Posted by David Beckham
what was the error it gave you ?.. maybe i made a mistake in my code somewhere ?

Reply With Quote
  #6  
Old May 21st, 2005, 02:08 PM
oneMSBi's Avatar
oneMSBi oneMSBi is offline
Caution:Loderator Moose !
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: India
Posts: 235 oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 22 h 49 m 43 sec
Reputation Power: 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"=""
Comments on this post
mansoorafzal agrees!

Reply With Quote
  #7  
Old May 23rd, 2005, 12:46 PM
mansoorafzal mansoorafzal is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Lahore
Posts: 139 mansoorafzal User rank is Private First Class (20 - 50 Reputation Level)mansoorafzal User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 20 h 12 m 7 sec
Reputation Power: 4
hello, thanks your this code works fine and solve my problem. once again thanks a lot.

Reply With Quote
  #8  
Old May 23rd, 2005, 02:44 PM
oneMSBi's Avatar
oneMSBi oneMSBi is offline
Caution:Loderator Moose !
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: India
Posts: 235 oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 22 h 49 m 43 sec
Reputation Power: 6
anytime mate...

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationWindows OS > New Text File Creation!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT