Creating a batch file in Windows 2008

  • Thread starter Thread starter IT Staff
  • Start date Start date
I

IT Staff

Guest
right-mouse click the desktop of windows 2008, new text document, save it
with extension *.bat, but it append with .bat.txt.

I understand microsoft concern that text file shld append with .txt.

Is there are registry setting to default to the extension we want ?
Otherwise i have to go cmd prompt to rename the file extension.
 
Re: Creating a batch file in Windows 2008


"IT Staff" <jkklim@hotmail.com> wrote in message
news:ealhJnaCJHA.4368@TK2MSFTNGP06.phx.gbl...
> right-mouse click the desktop of windows 2008, new text document, save it
> with extension *.bat, but it append with .bat.txt.
>
> I understand microsoft concern that text file shld append with .txt.
>
> Is there are registry setting to default to the extension we want ?
> Otherwise i have to go cmd prompt to rename the file extension.


If you open the "Save as Type" box (the one below the "File name"
box) and select "All files" then your file will be saved with whatever
extension you specify, without ".txt" being appended.
 
Re: Creating a batch file in Windows 2008

Explorer|Tools|Options|View and uncheck "Hide extensions for known file
types"



--

Regards,

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

"IT Staff" wrote:
> right-mouse click the desktop of windows 2008, new text document, save it
> with extension *.bat, but it append with .bat.txt.
>
> I understand microsoft concern that text file shld append with .txt.
>
> Is there are registry setting to default to the extension we want ?
> Otherwise i have to go cmd prompt to rename the file extension.
>
 
Back
Top