BloodFeastMan
Technical User
I have a batch file which contains the following line:
dir /s /a-h-s c:\ >diroutput.txt
as part of an index building process. When I run that from a CMD box, it runs fine, it creates a file of ~ 150 mb and takes about a minute to complete that line. However, after I was satisfied with the entirety, I set it up as a scheduled task that ran in the wee hours, only to find that the file it creates now is ~ 2.2 gb and took over three hours to complete. Upon further review, it seems that most of that file are registry entries not normal files.
Reviewing Scheduled Tasks and checking to see if there's something I've missed with the "dir" command, I can't find how to fix this, maybe one of you can shed light.
dir /s /a-h-s c:\ >diroutput.txt
as part of an index building process. When I run that from a CMD box, it runs fine, it creates a file of ~ 150 mb and takes about a minute to complete that line. However, after I was satisfied with the entirety, I set it up as a scheduled task that ran in the wee hours, only to find that the file it creates now is ~ 2.2 gb and took over three hours to complete. Upon further review, it seems that most of that file are registry entries not normal files.
Reviewing Scheduled Tasks and checking to see if there's something I've missed with the "dir" command, I can't find how to fix this, maybe one of you can shed light.