Code: Select all
SetBatchLines, -1 ; affects CPU utilization... script will run at max speed
ListLines Off ; helps with speed
Loop, Files, %TreeRoot%\*.*, DR
{
FileAppend, %A_LoopFileFullPath%`n, %temp_Company_List%
}
Code: Select all
SetBatchLines, -1 ; affects CPU utilization... script will run at max speed
ListLines Off ; helps with speed
Loop, Files, %TreeRoot%\*.*, DR
{
FileAppend, %A_LoopFileFullPath%`n, %temp_Company_List%
}
Code: Select all
#NoEnv
SetBatchLines, -1 ; affects CPU utilization... script will run at max speed
ListLines Off ; helps with speed
TreeRoot := "???"
temp_Company_List := "???"
ListFile := FileOpen(temp_Company_List, "w")
Loop, Files, %TreeRoot%\*.*, DR
{
ListFile.Write(A_LoopFileFullPath . "`r`n")
}
ListFile.Close()
Code: Select all
#NoEnv
SetBatchLines, -1 ; affects CPU utilization... script will run at max speed
ListLines Off ; helps with speed
TreeRoot := "???"
temp_Company_List := "???"
; ListFile := FileOpen(temp_Company_List, "w")
Loop, Files, %TreeRoot%\*.*, DR
{
; ListFile.Write(A_LoopFileFullPath . "`r`n")
FilePath := A_LoopFileFullPath
}
; ListFile.Close()
Code: Select all
Run, %ComSpec% /c dir /s /b /A:D> folders.txt,, Hide
Users browsing this forum: doodles333, Frogrammer and 252 guests