![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jan 2007
Posts: 10
OS: Win XP
|
Hi all,
My problem is that I can't open batch files in Vista! I can open cmd.exe fine, and can save notepad files as .bat, but when I come toopen the Batch file, cmd flashes up for like literally half a second and goes again ![]() I appreciate any help given to me ![]() |
|
|
|
| Sponsored Links |
|
|
#3 (permalink) |
|
Registered User
Join Date: Jan 2007
Posts: 10
OS: Win XP
|
Re: Command Prompt broke in Vista
Hi Placehold
thanks for the reply. The thing is I notice that the fix file isn't from the microsoft website?... I just wanted to be sure that it isn't a virus or the like. I hope I am not offending you with this post?? I dont mean to honestly. I know you say you are a member of Microsoft tech tem (weather its official or not) but I just want to make sure as I bought my laptop with my own money because my parents wouldn't :( So i just wanted to make sure :D Thanks alot |
|
|
|
|
|
#4 (permalink) |
|
Mentor, Microsoft Support
|
Re: Command Prompt broke in Vista
lol
No offence taken ![]() The file is not malware, virus, trojan nor any malicious software related command, I personally wouldn't do that as its not helpful to anyone. It contains a command that once click will automatically adjust the registry for you so you don't need to do that, Always backup your registry and create a restore point before using such files to tweak the system. The files itself can be opened into the notepad to make sure that there is nothing malicious ![]() Here is the contents of the file: Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.bat]
@="batfile"
[HKEY_CLASSES_ROOT\.bat\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bat\UserChoice]
[HKEY_CLASSES_ROOT\batfile]
@="Windows Batch File"
"EditFlags"=hex:30,04,00,00
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,61,00,63,00,70,00,70,00,61,00,67,00,65,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,36,00,30,00,30,00,32,00,00,00
[HKEY_CLASSES_ROOT\batfile\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,6d,00,\
61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,36,\
00,38,00,00,00
[HKEY_CLASSES_ROOT\batfile\shell]
[HKEY_CLASSES_ROOT\batfile\shell\edit]
[HKEY_CLASSES_ROOT\batfile\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
[HKEY_CLASSES_ROOT\batfile\shell\open]
"EditFlags"=hex:00,00,00,00
[HKEY_CLASSES_ROOT\batfile\shell\open\command]
@="\"%1\" %*"
[HKEY_CLASSES_ROOT\batfile\shell\print]
@=""
[HKEY_CLASSES_ROOT\batfile\shell\print\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,2f,00,70,00,20,\
00,25,00,31,00,00,00
[HKEY_CLASSES_ROOT\batfile\shell\runas]
[HKEY_CLASSES_ROOT\batfile\shell\runas\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,63,00,6d,00,\
64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,43,00,20,00,22,00,25,00,31,00,22,\
00,20,00,25,00,2a,00,00,00
[HKEY_CLASSES_ROOT\batfile\shellex]
[HKEY_CLASSES_ROOT\batfile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"
This rather large command should reset the association for the command prompt ![]() Regards Craig
__________________
|
|
|
|
|
|
#5 (permalink) | |
|
Registered User
Join Date: Jan 2007
Posts: 10
OS: Win XP
|
Re: Command Prompt broke in Vista
Thanks alot Craig!
I'm glad you didn't take offence :D I am going to download that link now... Quote:
sorry about all the stupid questions ![]() cheers again |
|
|
|
|
|
|
#6 (permalink) |
|
Mentor, Microsoft Support
|
Re: Command Prompt broke in Vista
lol, you are ok, if you dont ask who will lol
The file isn't a program as such but a file type that alerts your system to automatically run and adjust the settings, the extension of the file is .VBS .VBS stands for Visual Basic for Applications Script So technically the file your are downloading is the information needed to fix it and your system is the program that installs and changes the information ![]() So yes what you are downloading will automatically adjust your registry settings for command prompt Always back up and your registry and create a restore point before using such files Regards Craig
__________________
Last edited by Placehold : 06-21-2008 at 09:19 AM. |
|
|
|
![]() |
| Thread Tools | |
|
|