|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Apr 2004
Posts: 70
|
Batch File
I want to write a simple batch file to run a website every time the batch file is processed. For example, if I wanted to run www.yahoo.com when the batch file was ran how would I do that? I have never wrote any batch files but know it can be done. thanks
|
|
|
|
|
|
#2 |
|
Ride 'em Cowboy
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
|
You don't need a batch file to go to a web site. That would be a shortcut.
Here's a real simplistic one I have. The first line issue a command to Unhide a specific file called iconcache.db attrib -h "C:\Documents and Settings\Steve\Local Settings\Application Data\"iconcache.db This line deletes the file. del "C:\Documents and Settings\Steve\Local Settings\Application Data\"iconcache.db This line launches Windows Explorer to a specific folder. C:\WINDOWS\explorer.exe /e, /select, C:\ This line closes the batch file window. EXIT The four lines are done in NotePad and saved to whatever file name you want BUT end in .bat All four things happen in a flash and I end up with Win Explorer. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|