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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Microsoft Support > Windows Vista Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Reply
 
Thread Tools
Old 06-20-2008, 06:55 AM   #1 (permalink)
Registered User
 
Join Date: Jan 2007
Posts: 10
OS: Win XP


Exclamation Command Prompt broke in Vista

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
jt2007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Sponsored Links
Old 06-20-2008, 11:12 AM   #2 (permalink)
Mentor, Microsoft Support
 
Placehold's Avatar
 
Join Date: Mar 2008
Posts: 847
OS: Vista home Premium

My System

Send a message via MSN to Placehold Send a message via Yahoo to Placehold
Re: Command Prompt broke in Vista

Hello jt2007

Try installing the .BAT Fix for Vista

1. Download file to desktop

2. Double Click and select Yes

3. The fix should work instantly

Regards





Craig
__________________
Placehold is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-20-2008, 03:11 PM   #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
jt2007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-20-2008, 03:21 PM   #4 (permalink)
Mentor, Microsoft Support
 
Placehold's Avatar
 
Join Date: Mar 2008
Posts: 847
OS: Vista home Premium

My System

Send a message via MSN to Placehold Send a message via Yahoo to Placehold
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
__________________
Placehold is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-21-2008, 09:07 AM   #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:
It contains a command that once click will automatically adjust the registry for you
- do you mean the programme i am about to download??

sorry about all the stupid questions

cheers again
jt2007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-21-2008, 09:17 AM   #6 (permalink)
Mentor, Microsoft Support
 
Placehold's Avatar
 
Join Date: Mar 2008
Posts: 847
OS: Vista home Premium

My System

Send a message via MSN to Placehold Send a message via Yahoo to Placehold
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.
Placehold is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 09:36 PM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82