Creating a batch file in Windows 2008

Discussion in 'Windows Server' started by IT Staff, Aug 29, 2008.

  1. IT Staff

    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.
     
    IT Staff, Aug 29, 2008
    #1
    1. Advertisements

  2. 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.
     
    Pegasus \(MVP\), Aug 29, 2008
    #2
    1. Advertisements

  3. IT Staff

    Dave Patrick Guest

    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
     
    Dave Patrick, Aug 29, 2008
    #3
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.