Jump to content
Sign in to follow this  
g00gle

Simple Q About FileWrite

Recommended Posts

g00gle

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 "

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.