January 24th, 2012, 11:21 AM
Directory maker batch
Please bear with me as I am fairly new to all programming, much less batch.
I was looking at the different commands available for the batch language and came across the "dir" command. I then began to form a program that takes user input to save a list of files within a requested folder, with a few quick access codes so to speak.
Every time it finds something invalid, i.e. requesting the file "asdfgh" instead of "C:\Program Files\asdfgh" the program shuts down. How do i give an error message and make it loop back to the beginning of the script instead of terminating. i will attach my batch code. i've been using notepad++ for my programming.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!