Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

auto startup

 
qiu hu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, friends
I want to auto start a web application, so first I should start TOMACT ,then start IE ,after that enter a url.then start the application.Now ,I want to deal with these operations in a BAT file . My thinking has any problems? now ,who has the bat's tutorial and some applications .thanks very much!
 
qiu hu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
now ,through the MS OS 's set , .tomact can auto start.but how do auto start IE? help me pelease!
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try something like this in your bat file:



Just change the URL to the one you want to access.

Or try this:



This second method has two advantages: first you don't need to know where IE is installed, but then it uses the default browser and not necessarily IE. And second it doesn't pause the BAT file.
 
qiu hu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you peter!
your two method all are useful.now I have solve this problem.code:
 
aaliyah dcunha
Greenhorn
Posts: 10
Chrome Mac PPC Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:Try something like this in your bat file:



Just change the URL to the one you want to access.

Or try this:



This second method has two advantages: first you don't need to know where IE is installed, but then it uses the default browser and not necessarily IE. And second it doesn't pause the BAT file.


Your code is really helpful and i appreciate your work. i will also use this, Thanks Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic