About 1,360,000 results
Open links in new tab
  1. Create an empty file on the commandline in windows (like the …

    An easy way to replace the touch command on a windows command line like cmd would be: type nul > your_file.txt This will create 0 bytes in the your_file.txt file. This would also be a good …

  2. How to create and write to a txt file using VBA - Stack Overflow

    Apr 2, 2018 · Since most of the contents are repetitive in that file, only the hex values are changing, I want to make it a tool generated file. I want to write the c codes which are going to …

  3. Create and save a file with JavaScript - Stack Overflow

    I have data that I want to write to a file, and open a file dialog for the user to choose where to save the file. It would be great if it worked in all browsers, but it has to work in Chrome. I w...

  4. How can I create an empty file at the command line in Windows?

    671 How can I create an empty file at the DOS/Windows command-line? I tried: copy nul > file.txt But it always displays that a file was copied. Is there another method in the standard cmd? It …

  5. unix - Create text file and fill it using bash - Stack Overflow

    Jan 11, 2011 · I need to create a text file (unless it already exists) and write a new line to the file all using bash. I'm sure it's simple, but could anyone explain this to me?

  6. How to create a file in Linux from terminal window? [closed]

    Depending on what you want the file to contain: touch /path/to/file for an empty file somecommand > /path/to/file for a file containing the output of some command. eg: grep --help > …

  7. open() in Python does not create a file if it doesn't exist

    Jun 3, 2010 · Put w+ for writing the file, truncating if it exist, r+ to read the file, creating one if it don't exist but not writing (and returning null) or a+ for creating a new file or appending to a …

  8. Create a new file in git bash - Stack Overflow

    because it tries to track a non-existing file. I understand I can create a new file on the github.com interface, that's easy enough, I'm wondering if I can create a new file (like echo in cmd) and …

  9. java - How do I create a file and write to it? - Stack Overflow

    What's the simplest way to create and write to a (text) file in Java?

  10. How to create empty text file from a batch file? - Stack Overflow

    Oct 17, 2008 · Can somebody remember what was the command to create an empty file in MSDOS using BAT file?