Skip to main content
Question

how can we assign string file location path to file variable

  • May 10, 2024
  • 8 replies
  • 237 views

Forum|alt.badge.img+3

how can we assign string file location path to file variable

8 replies

Ganesh Bhat
Most Valuable Pathfinder
Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • May 15, 2024

@raj121213 

Please use file assign as bellow

 

Please mark it as resolved if you find this answer useful.

 


Forum|alt.badge.img+3
  • Author
  • Cadet | Tier 2
  • May 15, 2024

How can we close all excel and pdf files in automation anywhere


Marc Mueller
Most Valuable Pathfinder
Forum|alt.badge.img+17
  • Most Valuable Pathfinder
  • May 15, 2024

@raj121213 What about this one?
 

 


Forum|alt.badge.img+3
  • Author
  • Cadet | Tier 2
  • May 16, 2024

how can we close all file explorer and different browsers


Marc Mueller
Most Valuable Pathfinder
Forum|alt.badge.img+17
  • Most Valuable Pathfinder
  • May 16, 2024

@raj121213

File explorer:

taskkill /F /IM explorer.exe & start explorer

 

For browsers:

Edge: taskkill /F /IM msedge.exe

Chrome: taskkill /F /IM chrome.exe

 

 

 

 
 

Forum|alt.badge.img+8
  • Navigator | Tier 3
  • May 16, 2024

how can we close all file explorer and different browsers

I suggest using following rather than killing explorer. This will close all kind of windows(explorer, browser etc.) unless you explicitly specify.
Note: To keep the Bot editor window open, ensure that you add it in the Add window field. For example, enter *Control Room | Automation Anywhere* in the window title to keep it open.

 


Marc Mueller
Most Valuable Pathfinder
Forum|alt.badge.img+17
  • Most Valuable Pathfinder
  • May 17, 2024

@Bot Dev This is also a good one.

But general speaking I would handle the window or program/file close different then “Window: Close all”. Normally you should know which windows needs to be closed in your solution. I never used this taskill / Window: close all solution vor several windows/program/file to be closed.


Forum|alt.badge.img+3
  • Author
  • Cadet | Tier 2
  • May 17, 2024

How can we close word file