Batch file association

A

Ambrose, Joseph

Hello!

Somehow i clobbered the batch file association on my W2Kpro box.

THe icon has changed, i cannot run the batch files anymore.

Can someone show me how to undo this.

I used the file type option under the folder options in explorer.



--
Joseph Ambrose
System and Network Manager
The Conference Board
P: 001-212-339-0443
F: 001-212-836-3802
E: (e-mail address removed)
Visit our Award Winning Web Site: www.conference-board.org
 
D

Dave Patrick

From a command prompt;
assoc .bat
should return with
..bat=batfile
If not
assoc .bat=batfile
to restore the default file type association.

ftype batfile
should return with
batfile="%1" %*
If not
ftype batfile="%1" %*
to restore the default "Open" action for the file type.


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Hello!
|
| Somehow i clobbered the batch file association on my W2Kpro box.
|
| THe icon has changed, i cannot run the batch files anymore.
|
| Can someone show me how to undo this.
|
| I used the file type option under the folder options in explorer.
|
|
|
| --
| Joseph Ambrose
| System and Network Manager
| The Conference Board
| P: 001-212-339-0443
| F: 001-212-836-3802
| E: (e-mail address removed)
| Visit our Award Winning Web Site: www.conference-board.org
|
|
 
D

Dave Patrick

From a command prompt;
assoc .bat
should return with
..bat=batfile
If not
assoc .bat=batfile
to restore the default file type association.

ftype batfile
should return with
batfile="%1" %*
If not
ftype batfile="%1" %*
to restore the default "Open" action for the file type.


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Hello!
|
| Somehow i clobbered the batch file association on my W2Kpro box.
|
| THe icon has changed, i cannot run the batch files anymore.
|
| Can someone show me how to undo this.
|
| I used the file type option under the folder options in explorer.
|
|
|
| --
| Joseph Ambrose
| System and Network Manager
| The Conference Board
| P: 001-212-339-0443
| F: 001-212-836-3802
| E: (e-mail address removed)
| Visit our Award Winning Web Site: www.conference-board.org
|
|
 
A

Ambrose, Joseph

Dave,

Both are what they should be, but i still can't run a batch file.

--
Joseph Ambrose
System and Network Manager
The Conference Board
P: 001-212-339-0443
F: 001-212-836-3802
E: (e-mail address removed)
Visit our Award Winning Web Site: www.conference-board.org
 
A

Ambrose, Joseph

Dave,

Both are what they should be, but i still can't run a batch file.

--
Joseph Ambrose
System and Network Manager
The Conference Board
P: 001-212-339-0443
F: 001-212-836-3802
E: (e-mail address removed)
Visit our Award Winning Web Site: www.conference-board.org
 
D

Dave Patrick

These may help.

How to Perform an In-Place Upgrade of Windows 2000
http://support.microsoft.com/support/kb/articles/Q292/1/75.ASP

What an In-Place Windows 2000 Upgrade Changes and What It Does Not Change
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306952

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Dave,
|
| Both are what they should be, but i still can't run a batch file.
|
| --
| Joseph Ambrose
| System and Network Manager
| The Conference Board
| P: 001-212-339-0443
| F: 001-212-836-3802
| E: (e-mail address removed)
| Visit our Award Winning Web Site: www.conference-board.org
 
D

Dave Patrick

These may help.

How to Perform an In-Place Upgrade of Windows 2000
http://support.microsoft.com/support/kb/articles/Q292/1/75.ASP

What an In-Place Windows 2000 Upgrade Changes and What It Does Not Change
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306952

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Dave,
|
| Both are what they should be, but i still can't run a batch file.
|
| --
| Joseph Ambrose
| System and Network Manager
| The Conference Board
| P: 001-212-339-0443
| F: 001-212-836-3802
| E: (e-mail address removed)
| Visit our Award Winning Web Site: www.conference-board.org
 
A

Ambrose, Joseph

Dave,

Thanks! I'll look into this....



--
Joseph Ambrose
System and Network Manager
The Conference Board
P: 001-212-339-0443
F: 001-212-836-3802
E: (e-mail address removed)
Visit our Award Winning Web Site: www.conference-board.org
 
A

Ambrose, Joseph

Dave,

Thanks! I'll look into this....



--
Joseph Ambrose
System and Network Manager
The Conference Board
P: 001-212-339-0443
F: 001-212-836-3802
E: (e-mail address removed)
Visit our Award Winning Web Site: www.conference-board.org
 
M

Mark V

Dave,

Both are what they should be, but i still can't run a batch file.

Might check the PATHEXT system variable to confirm it includes ".BAT".
C:\TEMP>set pathext
PATHEXT=.COM;.EXE;.BAT;.CMD; <additional ommitted here>
 
M

Mark V

Dave,

Both are what they should be, but i still can't run a batch file.

Might check the PATHEXT system variable to confirm it includes ".BAT".
C:\TEMP>set pathext
PATHEXT=.COM;.EXE;.BAT;.CMD; <additional ommitted here>
 
D

Dave Patrick

Yep might be worth looking at.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


in:
| Might check the PATHEXT system variable to confirm it includes ".BAT".
| C:\TEMP>set pathext
| PATHEXT=.COM;.EXE;.BAT;.CMD; <additional ommitted here>
 
D

Dave Patrick

Yep might be worth looking at.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


in:
| Might check the PATHEXT system variable to confirm it includes ".BAT".
| C:\TEMP>set pathext
| PATHEXT=.COM;.EXE;.BAT;.CMD; <additional ommitted here>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top