Batch file association

  • Thread starter Thread starter Ambrose, Joseph
  • Start date Start date
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
 
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
|
|
 
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
|
|
 
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
 
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
 
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
 
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
 
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
 
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
 
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>
 
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>
 
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>
 
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>
 
Back
Top