Windows 10: problem saving .bat file Solved

Page 2 of 3 FirstFirst 123 LastLast
  1.    06 Nov 2016 #11

    As a general rule I dont trust bat files! unless I want a virus.
      My System SpecsSystem Spec

  2.    06 Nov 2016 #12

    Hi,

    Bright Eyes said: View Post
    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 System SpecsSystem Spec

  3.    06 Nov 2016 #13

    TechnoMage said: View Post
    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 System SpecsSystem Spec


  4. Posts : 2,787
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint
       06 Nov 2016 #14

    Kbird said: View Post
    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 System SpecsSystem Spec

  5. bro67's Avatar
    Posts : 3,166
    EL Capitan
       06 Nov 2016 #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 System SpecsSystem Spec

  6. bro67's Avatar
    Posts : 3,166
    EL Capitan
       06 Nov 2016 #16

    Bright Eyes said: View Post
    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 System SpecsSystem Spec

  7. bro67's Avatar
    Posts : 3,166
    EL Capitan
       06 Nov 2016 #17

    fdegrove said: View Post
    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 System SpecsSystem Spec

  8.    06 Nov 2016 #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 System SpecsSystem Spec

  9. Kari's Avatar
    Posts : 10,080
    Windows 10 Pro
       06 Nov 2016 #19

    bro67 said: View Post
    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 System SpecsSystem Spec

  10. bro67's Avatar
    Posts : 3,166
    EL Capitan
       06 Nov 2016 #20

    fdegrove said: View Post
    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 System SpecsSystem Spec


 
Page 2 of 3 FirstFirst 123 LastLast

Related Threads
This has been going on for as long as I've had Windows 10 and I continue to be unable to find a solution. For a while, I was finding other people on various forums with the same problem - some of them were talking about a COM surrogate error - but...
I'm new here & have a problem. Iím using Windows 10 & IE browser & want to save my bookmarks for install on new larger hard drive. When saving most bookmarks in folders will save, but other folders will be empty or gone totally. Iím using the...
Hi Using Windows 10 ADK v1511, how do I capture an image directly by saving it in an esd file? Also, how do I add an image volume, to an esd file? Thanks Bye
Ok I am a bit stuck here as I need to save a very large csv file to a txt file that has a certain format for it to be used in another application as an import file, I will attach the sample csv files here My sheet will look like this 46311 ...
Saving the esd file in Installation and Setup
Hi When Windows 10 downloads a new build from Windows Update, how can I save the esd file to create an installation DVD running on each computer? Thanks Bye
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 19:57.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums