Win a copy of Functional Design and Architecture this week in the Functional programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

auto startup

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you peter!
your two method all are useful.now I have solve this problem.code:
 
Greenhorn
Posts: 10
Mac PPC Windows XP Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic