importing components using xpecmd

Joined
Nov 26, 2007
Messages
9
Reaction score
0
I am writing a batch/xpecmd file to import several components into my db at once. First in my batch file i must call the xpecmd.wsf file that is in the bin folder in order to get the xpecmd> prompt. After I get the prompt I want to call my cmd file programmatically. Normally you would have to type this in the command window with the @ preceding.

ex.
xpecmd> @import.cmd

I cant seem to figure out how to do all of this programmatically. After I call the xpecmd.wsf script in my batch file I get the xpecmd prompt but that batch file doesnt seem to pass the "@import.cmd" to the prompt. Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top