Jump to content

Creating a batch file in Windows 2008


Recommended Posts

Guest IT Staff
Posted

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.

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

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.

Guest Dave Patrick
Posted

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.

>


×
×
  • Create New...