MarketplaceListingsCustom ActivityCommand Prompt Activities

Command Prompt Activities

by Manish Jagtap

4

8.4k

Command Prompt Activities

by Manish Jagtap

4

Custom Activity

8.4k

carouselImage0

Summary

Summary


Overview

Overview

ExecuteSingleCommand Activity: This activity opens the command prompt, executes the provided command and returns the console output as a string.
If the input property SingleLineOutput is set to True then only the specific command output will be retrieved, else by default the entire console output will be fetched.
This activity is helpful when only a single command has to be executed and the command output has to be fetched.

OpenCommandPrompt Activity: This activity opens the command prompt session and provides the CMD process as output. This activity has no input parameters. The output from this activity is used as input for the activities ExecuteCommand, CloseCommand and GetConsoleOutput.

ExecuteCommand Activity: This activity executes the specified input command on the already opened command prompt process. This activity is useful when multiple commands have to be executed on the same command prompt session.

CloseCommand Activity: This activity closes the input stream to the specified command prompt process. This activity must be used after the OpenCommandPrompt and ExecuteCommand activities.

GetConsoleOutput Activity: This activity is used to get the command prompt console output as a string once the commands are executed and closed using the ExecuteCommand and CloseCommand activities respectively. The activity has the complete console output of the executed commands of the specified command prompt session.

Complete details of how to use these activities can be found in the attached document.

Features

Features


Additional Information

Additional Information

Dependencies


Code Language

Visual Basic

Runtime

Windows Legacy (.Net Framework 4.6.1)

Publisher

Manish Jagtap

Visit Publisher's Page

License

MIT

Technical

Version

1.0.8

Updated

01 May 2021

Works with

Compatibility tested with Studio versions 2019, 2020 and 2021

Certification

Silver Certified

Tags

Command prompt
cmd
cmd console
Windows cmd

Application

Microsoft Windows

Support

UiPath Community Support

Resources

Similar Listings