Jump to content

Simple Q About FileWrite


Recommended Posts

Currently trying to write a script that will generate a proper batch file and then run it.

Have been playing around with the GUI options available.

Anyways, long story short.. how do I send a quote (") in FileWrite or FileWriteLine ?

FileWrite( "file.bat", "dir ")
    FileWrite( "file.bat", $var)
    FileWrite( "file.bat",GUICtrlRead($file))
    FileWrite( "file.bat", "\*.mkv")
    FileWrite( "file.bat", $var)
    FileWriteLine( "file.bat", "/b > file.txt")

where $var is where I need a "

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...