Hello,
Im trying to automate the Win2K command Net User to add users to the computer.
The problem im running into is i need to use a " inside of the
argument. Well when CF sees the " it thinks it is the end of the CFEXECUTE
tag.
Anyway to escape this quote symbol? I tried using " but that did not
work.
<cfexecute name="c:\winnt\system32\net.exe"
arguments="user #GetUsers.Login# #GetUsers.Password# /add
/fullname:"BILLYBOB" /expires:never /passwordchg:no /passwordreq:yes"
outputfile="c:\output.txt">
</cfexecute>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists