Skip to main content
Participating Frequently
September 3, 2009
Question

CFEXECUTE

  • September 3, 2009
  • 1 reply
  • 987 views

<cfexecute name="c:\windows\system32\dsquery.exe" arguments="user -samid pstest | dsmod user -mustchpwd yes" timeout="10" outputFile = "C:\AD-mustchange-output.txt"/>

That's what I'm trying to run...it seems that it may not like the | (pipe). Any ideas on how to fix this? Maybe run as two commands?

Thanks

This topic has been closed for replies.

1 reply

Inspiring
September 3, 2009

If you send your arguments exactly the way the manual prescribes you will have more success.

-Matthew-Author
Participating Frequently
September 3, 2009

If you want to be an asshole, please choose another post. That was about as useless post as it gets, if I knew exactly what I was doing I wouldn't posting. I bet its tough for your coworkers to be around someone who knows everything.