Jump to content
UBot Underground

Creating a Batch File to Generate a List of Images in a Folder


Recommended Posts

Guest Krish Puri

Hi,

 

I was having problems in uploading random images to a site from a folder and so I created a batch file which generated a text file containing all images in the folder.

After that, I used the choose random field command to pick a random image.

 

Here is the code for the batch file:

dir C:\Dir\Images /b >files.txt

 

Where "C:\Dir\Images" is the path for your images directory and "files.txt" is the file which will contain the list.

 

Thanks

Link to post
Share on other sites

Well, actually my bot was active, and it cleared all my cookies.

 

I didn't realize that I was logged out, and I simple created a thread...lol!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...