Extract Parent Path

Hi @Sean_Ryan1

  1. Use Read Range activity → Store it as DtRead

Use Assign activity

DtClone = DtRead.Clone

DtClone  -> Variable Type | System.data.DataTable

  1. use For each row in data Table activity

Inside the For each row in data table activity

  1. Use Assign activity
OutputString = Path.GetDirectoryName(Currentrow("Column Name").Tostring)
  1. Use Add data Row activity and pass the Value

{OutputString}

image

Note : If you need to add more column add it.

Outside the For each row in data table activity

  1. Use Write Range activity

image

Regards
Gokul

1 Like