Search found 1 match
- 10 Sep 2011 01:53
- Forum: DOS Batch Forum
- Topic: Looping through files in a directory
- Replies: 1
- Views: 2827
Looping through files in a directory
Hi, I am trying to loop through some files in a directory as such: @echo off set direc=C:/Users/jackie/Desktop/test for /f %%a IN (%direc%) do echo %%a pause but I get this error: The system cannot find the file C:/Users/jackie/Desktop/test. Can someone help me figure this out? I am trying to get to...