Dos batch file

the nice thing (!) about batch files is if you havent built in any error handling, then they will just quit without carrying on.

it cant copy one of the files (i assume) , and when it gets to it it will just quit and give up. so when it gets stuck, nothing after that will happen either


normally, you cant copy a file if it is in use...perhaps someone has a file open in e: while the batch file runs?
if not, try copy the files one by one, or folder by folder via windows, until you find the one it errors on, and fix the problem
 
Without trying to Hijack your thread,but have a quick Q to those in the know of this batch file/DOS stuff.

With these batch files is it possible to do renaming inside a file or not?
In this example here
The file would be ELEMENTS.DAT (created in Notepad)
inside that file is this info http://www.celestrak.com/NORAD/elements/weather.txt

Is it possible to create a batch file that would rename NOAA 18 to NOAA 14 or its not possible to go that deep??

I know its no big deal to do it manually but CAN it be done by batch file?
 
Last edited:
Anyone able to help me with my problem??

basically the program was working till 3 days ago - but now it stops halfway through the files. I can copy them in Windows though.

:confused::confused::confused:
 
Top
Sign up to the MyBroadband newsletter
X