Search found 2 matches
- 30 Apr 2015 06:37
- Forum: DOS Batch Forum
- Topic: Open a webpage with a Batch program
- Replies: 4
- Views: 5509
Re: Open a webpage with a Batch program
Thanks Squashman, Your code helped me a lot. This is the result: @Echo off Color 02 :Start CLS Set /p command= com: If %command%== stop Exit Set Search=start_web: Set command|findstr /b "command="|findstr /i %Search% >nul If Errorlevel 1 (goto Fail) Else (goto Web) :Fail Echo. Echo Please ...
- 29 Apr 2015 12:38
- Forum: DOS Batch Forum
- Topic: Open a webpage with a Batch program
- Replies: 4
- Views: 5509
Open a webpage with a Batch program
I'm building something similar to the CMD program. I want to add a command to open a webpage. something like: start_web:google.com . My program needs to recognize the start_web: command and than open google.com or some other webpage. Is there any way how to separate start_web: and google.com ? I don...