This may not be an ideal solution but still can be tried-
You can use Run Powershell script activity from uipath to call the shell script like below. the activity is available under UiPath.Script.Activities
And in the shell script you can add the below code-
[System.Reflection.Assembly]::LoadWithPartialName(‘Microsoft.VisualBasic’) | Out-Null
$name = [Microsoft.VisualBasic.Interaction]::InputBox(‘Enter the File name’, ‘User Input Dialog’, “”)
This basically generates an user input dialog; where we need to enter the file name without the double code. using uipath activity you can enter the file name in below iput box
I am still trying to find a way to pass the dynamic file name using argument. Till then let me know if this works.
Thanks & Regards,
Lipika Porey