Batch files

  • Thread starter Thread starter Waldo
  • Start date Start date
W

Waldo

Hi, I used a very simple batch file to open Outlook Express and a web page
together in Windows ME. Now that I'm using XP, the file does not work
properly, Outlook Express opens, but the web page won't.
To open the web page I used the simple command: start "www.nytimes.com/"

This would obviously open the NY Times web site, however in XP I just get a
dos window saying: C:\Documents and Settings\Michael\Desktop>

Can anyone tell me what I need to change to get this to work? Thanks for any
help.
 
Waldo said:
Hi, I used a very simple batch file to open Outlook Express and a web page
together in Windows ME. Now that I'm using XP, the file does not work
properly, Outlook Express opens, but the web page won't.
To open the web page I used the simple command: start "www.nytimes.com/"

This would obviously open the NY Times web site, however in XP I just get a
dos window saying: C:\Documents and Settings\Michael\Desktop>

Can anyone tell me what I need to change to get this to work? Thanks for any
help.

If you look in a command prompt box for the start command and run "start
/?" you can read the instructions for this command. All you've said to
do is run "start" and put "www.nytimes.com/" in the windows. The reason
you see "c:\documents and settings..." is that becuase that is the
current directory.

I suppose you could make start work. I don't know why start is
different in ME and XP. I don't know.

A more conventional way to do what you want would be would be:

Copy a startup shortcut to OE into the "startup" folder? Also put a
short cut to "http://www.nytimes.com" there also. then when you start
windows (after your login) it will run all commands in the startup
folder ... and get the two things you want.

Easy access to your startup folder: Right mouse-click on Start,
Explore, navigate down through Programs to Start Up.
 
Hi, I used a very simple batch file to open Outlook Express and a web page
together in Windows ME. Now that I'm using XP, the file does not work
properly, Outlook Express opens, but the web page won't.
To open the web page I used the simple command: start "www.nytimes.com/"

This would obviously open the NY Times web site, however in XP I just get a
dos window saying: C:\Documents and Settings\Michael\Desktop>

Can anyone tell me what I need to change to get this to work? Thanks for any
help.

Try the below line. This works in a batch file on my XP machine
(note the http://).

start http://www.nytimes.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top