Computing.Net > Forums > Programming > Command line output reformat

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Command line output reformat

Reply to Message Icon

Name: maettu99
Date: January 19, 2009 at 00:33:50 Pacific
OS: Windows Server 2008
CPU/Ram: Intel
Product: Hewlett-packard / Proliant
Subcategory: Batch
Comment:

Hello, I have batchfile wich i need to automate the migration using admt.exe First i enumerate the OU path of the user (dn) with dsquery and get the following output (example):

OU=internal,OU=matusr,DC=intra,DC=mat,DC=ch

The syntax i need for admt.exe should be:

internal/matusr/intra/mat/ch

Does anyone have a solution to convert the syntax on the command line without additional tools? Only windows standard utilities are allowed. Thanks a lot for your help. Regards mat



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Command line output reformat

Command line arguments in VisualC++ www.computing.net/answers/programming/command-line-arguments-in-visualc/6012.html

Command line syntax - How to read? www.computing.net/answers/programming/command-line-syntax-how-to-read/12348.html

Source Safe Command Lines www.computing.net/answers/programming/source-safe-command-lines/17029.html