mIRC Homepage
Posted By: klez Error on /write -ds" - 08/11/17 11:08 AM
Having this example:

Code:
/write test.txt " test


and executing:

Code:
/write -ds" test.txt


will return: * /write: invalid parameters

so, to delete avoiding this error we must execute:

Code:
if ($read(test.txt,nts,") != $null) write -dl $+ $readn test.txt


Can be checked somehow to not avoid errors on /write -ds" ?
Posted By: Khaled Re: Error on /write -ds" - 08/11/17 12:26 PM
Thanks for your bug report. This is by design. The /write -s switch supports quoting. This means that if you use an open quote, you must use a close quote. If you do not, it is treated as an error.
© mIRC Discussion Forums