Hello all,
I used this path in order to unzip file on desktop , and in studio is working , but on unattended robot the path is not correct
how my I do in order to see the path (is not same on unattended mode?
Best regards
Hello all,
I used this path in order to unzip file on desktop , and in studio is working , but on unattended robot the path is not correct
how my I do in order to see the path (is not same on unattended mode?
Best regards
HI,
Can you share which path you use?
Regards,
C:\Users"+username+“\Desktop”+“\name of file.zip”
and assign username==> System.Environment.UserName
BEST REGARDS
Hi,
If you need to get path to desktop of current user, the following might be better.
System.Environment.GetFolderPath(System.Environment.SpecialFolder.DesktopDirectory)
Then, full path to the file will be the following.
System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.DesktopDirectory),"name of file.zip")
Regards,
the problem he detects the username of the second machine ,
on mode user he works correctly
but on unattended , he shows me on logs name of the second machine , and he can’t save on that path
also wen i give directly username of server machine , he can’t(path incorrect)
my question where does robot unattended save file (me i tells to google to ask me where save , by pop up i give this file ) my be there is better emplacement to save files download from web ?
Best regards
Hi,
How about using folder under project root? If we create data folder under project folder, the following will work.
System.IO.Path.Combine(System.Environment.CurrentDirectory,"data","name of file.zip")
Please note it’s necessary to create a (dummy) file under data folder because empty folder will be deleted in publishing.
OR can you elaborate username of the second machine
?
I think it depends on UR settings in Orchestrator.
Regards,
THANK YOU LOT ,it is working fine!!
Best regards
Hello,
now just there an SAP application witch need to search that file but I must click on the button path in order to find it , i see the path generated there is username ,i don’t know if i put my username it will be always same?
and also in the path there is number of package (1.0.5)in order to get it
i thin if there is another point solution if i move it into desktop (but that need to specify username)
Thank you if u have idea or u think (clicks into this paths i move it without any problem in future)
Best regards
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.