HI Team,
strucked with 2 issues:
getting following Error when i am trying to get putty.exe file path
and when i tried for NOTEPAD, the following is the result
but i am not expecting result as “System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]” — i am expecting the path of exe file
N.R_Mane
(Narendra Mane)
July 26, 2024, 10:06am
3
@devasaiprasad_K
Hello,
Please try with whole path and check the name of .exe is right
for example: in command
“C:\Program Files\mtputty\mtputty.exe”
N.R_Mane
(Narendra Mane)
July 26, 2024, 10:16am
4
@devasaiprasad_K
if you want dynamically then too we have the option.
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)+"/myttpo/(Foldername)"+"myttpo.exe"