Skip to main content

how can we assign string file location path to file variable

@raj121213 

Please use file assign as bellow

 

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

 


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


@raj121213 What about this one?
 

 


how can we close all file explorer and different browsers


@raj121213

File explorer:

taskkill /F /IM explorer.exe & start explorer

 

For browsers:

Edge: taskkill /F /IM msedge.exe

Chrome: taskkill /F /IM chrome.exe

 

 

 

 
 

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.

 


@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.


How can we close word file


Reply