Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-29-2004, 09:23 PM   #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
wantabe2 is offline   Reply With Quote
Old 10-29-2004, 10:09 PM   #2
Ride 'em Cowboy
 
EzyStvy's Avatar
 
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.
EzyStvy is online now   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:56 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2