• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFEXECUTE

New Here ,
Sep 03, 2009 Sep 03, 2009

Copy link to clipboard

Copied

<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

TOPICS
Advanced techniques

Views

935

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 03, 2009 Sep 03, 2009

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 03, 2009 Sep 03, 2009

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation