Skip to main content
Question

how can we assign string file location path to file variable


Forum|alt.badge.img+3

how can we assign string file location path to file variable

Ganesh Bhat
Most Valuable Pathfinder
Forum|alt.badge.img+17
  • 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
  • Cadet | Tier 2
  • May 15, 2024

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


Marc Mueller
Pathfinder Advocate | Tier 6
Forum|alt.badge.img+15
  • Pathfinder Advocate | Tier 6
  • May 15, 2024

@raj121213 What about this one?
 

 


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

how can we close all file explorer and different browsers


Marc Mueller
Pathfinder Advocate | Tier 6
Forum|alt.badge.img+15
  • Pathfinder Advocate | Tier 6
  • 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
raj121213 wrote:

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
Pathfinder Advocate | Tier 6
Forum|alt.badge.img+15
  • Pathfinder Advocate | Tier 6
  • 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
  • Cadet | Tier 2
  • May 17, 2024

How can we close word file


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings