Question

how can we assign string file location path to file variable


Badge +2

how can we assign string file location path to file variable


8 replies

Userlevel 4
Badge +12

@raj121213 

Please use file assign as bellow

 

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

 

Badge +2

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

Userlevel 2
Badge +5

@raj121213 What about this one?
 

 

Badge +2

how can we close all file explorer and different browsers

Userlevel 2
Badge +5

@raj121213

File explorer:

taskkill /F /IM explorer.exe & start explorer

 

For browsers:

Edge: taskkill /F /IM msedge.exe

Chrome: taskkill /F /IM chrome.exe

 

 

 

 
 
Userlevel 2
Badge +6

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.

 

Userlevel 2
Badge +5

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

Badge +2

How can we close word file

Reply