Search found 3 matches

by Pyromaniac
04 Apr 2010 09:20
Forum: DOS Batch Forum
Topic: Setting variables in a for line?
Replies: 1
Views: 5171

Setting variables in a for line?

I have a script im creating that searches your steam folder for missing texture files and creates them as they are found. So far its pretty much done, but I can't figure out why I can't set the variable "list" in the for loop. It comes up as undefined, but when i place it outside of the fo...
by Pyromaniac
03 Apr 2010 14:00
Forum: DOS Batch Forum
Topic: Using for to search a folder and all its subfolders
Replies: 2
Views: 6070

Re: Using for to search a folder and all its subfolders

I got dir to search subfolders with /s and get a nice list with /b.

I make dir export the list to a file called list.tmp, Im attempting to make FOR check each of the files in the list, but all it does is check the file list.tmp, how do i make it use the variables inside the list?
by Pyromaniac
03 Apr 2010 12:17
Forum: DOS Batch Forum
Topic: Using for to search a folder and all its subfolders
Replies: 2
Views: 6070

Using for to search a folder and all its subfolders

is this possible? I have created a batch file that searches for all .vtf files without an according .vmt file. And creates a vmt for them. It works perfectly other than you have to specify the subfolder where the certain textures are located. I want it to scan anything within the materials folder, a...