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 slow 
Where has my script gone wrong?
I am new to these forums and have a question about batch files...
...My batch is as follows:
Code:
(
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:
My Computer
- Computer type
- Laptop
- Computer Manufacturer/Model Number
- Lenovo
- OS
- Windows 8 Pro x64.
- CPU
- Intel I5
- Memory
- 4 GB
- Hard Drives
- 120GB Solid State
- Antivirus
- Kaspersky Endpoint Security 10
- Browser
- Opera