problem saving .bat file

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 116
    10.1
       #11

    As a general rule I dont trust bat files! unless I want a virus.
      My Computer


  2. Posts : 2,832
    Windows 10 Pro X64
       #12

    Hi,

    Bright Eyes said:
    As a general rule I dont trust bat files! unless I want a virus.
    May I suggest to search the system drive ? I bet you'll find at least a dozen batch files.

    Cheers,
      My Computers


  3. Posts : 2,324
    Win10
       #13

    TechnoMage said:
    Bull Bro!

    I write batch files in Wordpad, then save them with the extension set to .bat and the file type set to "All Files".
    If a batch file gets saved with the .txt extension, that can be renamed to .bat easily.

    Cheers Mates,
    TechnoMage
    I still use them too, but use Notepad (no formatting in .bat files) and when going to save simply enclose the File name with quotes so it doesn't save it as a .txt file ie "NewBatchFile.bat"

    Not all my old ones work with Win10 though due to permission errors on C: Drive nowadays....
      My Computers


  4. Posts : 13,987
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #14

    Kbird said:
    I still use them too, but use Notepad (no formatting in .bat files) and when going to save simply enclose the File name with quotes so it doesn't save it as a .txt file ie "NewBatchFile.bat"
    Agreed, word processors such as Wordpad, Word, WordPro, WordPerfect, WordStar, etc., tend to have hidden formatting while Notepad is just plain text. Some of the Notepad replacements may also not be just plain text. It's all about the formatting of the text, sentences, paragraphs, etc.
      My Computers


  5. Posts : 9,780
    Mac OS Catalina
       #15

    TechnoMage DOS is not deeply buried into Windows 10. It has not existed since XP. There is the Command Line Interpreter that is very limited. Batch files have been gone sone XP when scripts started to be used to handle stuff.
      My Computer


  6. Posts : 9,780
    Mac OS Catalina
       #16

    Bright Eyes said:
    As a general rule I dont trust bat files! unless I want a virus.
    Batch files do not make your system get infected. They are basically a restricted Macro that you have the file run a set process.
      My Computer


  7. Posts : 9,780
    Mac OS Catalina
       #17

    fdegrove said:
    Hi,
    Who are "we" ?
    .bat is just a file extension that stems from the DOS era but you can still use it in W10 if the command lines are properly written for the W10 command line interpreter.
    Cheers,
    No one uses Batch files anymore. They are holdovers from the DOS days for those who continue trying to use them instead of using Scripts which have been used since XP came out. If you are still living in the days of past, there is some training that needs to be done to show you how much more powerful scripts can be.
      My Computer


  8. Posts : 2,832
    Windows 10 Pro X64
       #18

    Hi,
    @bro67:

    This is the second time you reply to the same post. It does not make your statement any more "right" because you are wrong.
    Just let it go. Moreover it's complete off topic anyway.

    Cheers,
      My Computers


  9. Posts : 17,661
    Windows 10 Pro
       #19

    bro67 said:
    No one uses Batch files anymore.
    I've been called with many names. My ex-wives call me an idiot, a chauvinistic male pig, a**hole and so on. Quite often the natives in my adopted home country call me "bloody foreigner", my doctor calls me stupid for not doing as he tells me.

    But: You are the first one calling me "no one". I'd rather hear the names mentioned above because at least they mean I am someone.
      My Computer


  10. Posts : 9,780
    Mac OS Catalina
       #20

    fdegrove said:
    Hi,
    @bro67:
    This is the second time you reply to the same post. It does not make your statement any more "right" because you are wrong.
    Just let it go. Moreover it's complete off topic anyway.
    Cheers,
    I never got the message that everyone has to go through you first before they post. The only thing off topic is you trying to tell people that they do not have the right to post on a thread and state fact that no one is using batch files anymore since XP.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:09.
Find Us




Windows 10 Forums