New
#1
Batch file help?
Hello!
I am new to these forums and have a question about batch files...
...My batch is as follows:
The problem is, I cannot get it to work. When I load it, CMD opens up for a split second, and disappears. The file isn't made, and Internet Explorer will not open. I have tried to prtsc and get an image so I can see what the error is, but the window sometimes opens immediately, sometime after a few seconds, then goes away too quickly for me to get my bearings and push the button. Human reaction time too slowCode:( echo <h1 style="color: red">HTML TEXT HERE</h1> ) > c:\Users\%username%\Desktop\htm.html start iexplore file:\\c:\Users\%username%\Desktop\htm.html
Where has my script gone wrong?
Last edited by ashley268; 25 Aug 2015 at 05:27. Reason: Forgot a to put [CODE] box in ;p