02-19-2015 09:52 PM - edited 03-01-2019 09:13 AM
hi guys ,
i want to create a batch file to run sacmd command prompt from c# application , is this possible create batch file to run sacmd
please anyone help me
Solved! Go to Solution.
02-20-2015 11:05 AM
Yes, certainly. Refer to commandline guide provided with the product. You should have all the information inside that
02-20-2015 11:05 AM
Yes, certainly. Refer to commandline guide provided with the product. You should have all the information inside that
02-20-2015 09:25 PM
dinesh ,
i'm new to the cisco tidal , i gone through the command line guide but i doesn't fine how to write bat file and run using c# , will please send me one example for that
thanks in advance
02-22-2015 12:31 PM
There are two parts to this.
::listrule +i ->It is used the get the job ID. '+i' will contain the output.
::-n ->Here we pass the job name for which we need Job ID.
:: %1 -> Job Name
:: %2 -> URL to invoke sacmd scripts. Generally points to CM. It's different than the CM URL
:: %3 -> User name
cd C:\Program Files\TIDAL\TESCmdLine\bin\
sacmd -cmdspurl %2 -user domain\%3 listrule +i -n %1
For this, you will need to refer to MSDN or other forums like stackoverflow. There are several examples on the web. For example, http://stackoverflow.com/questions/5519328/executing-batch-file-in-c-sharp
- Dinesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide