Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




411 posts

Ultimate Geek


#29043 20-Dec-2008 14:53
Send private message

Is it possible?

When I log on I want the logon script which is a bat file to launch a program.

Does anyone know the code for it to do this?




-- Divett Enterprises -- The Power Of Tomorrow --

Create new topic
BDFL - Memuneh
66185 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  #185320 20-Dec-2008 15:10
Send private message

Just invoke the application. For example a .BAT file like this will launch Notepad:

@echo off
cd \windows
notepad

No mystery there...




98 posts

Master Geek


  #185322 20-Dec-2008 15:24
Send private message

alternatively you can also use the 'start' command to configure additional options such as process priority etc.
type "start /?" at the command prompt for a list of options.

for examples and a lists of other useful command line utilities check out http://www.ss64.com

 
 
 
 




411 posts

Ultimate Geek


  #185324 20-Dec-2008 15:30
Send private message

Awesome!

Thanks Heaps!

What I have set up now is that I can use Smart Login to execute the main bat logon script (seeing as Smart Login tends to only like BAT scripts) then using the bat script I have got it so that it executes our main logon script which is done using Scriptstart (Because I cant be bothered writing my own script. Seems to be working well now :D




-- Divett Enterprises -- The Power Of Tomorrow --

319 posts

Ultimate Geek

Trusted
Lifetime subscriber

  #185381 20-Dec-2008 21:52
Send private message

Mr Nerding,

Little late but ...
Depending on the program your running via the batch you may have a dos shell window for the time you have the launched application open/running.
So, you might also want to look into scheduled tasks to. You can set a program to be run at all sorts of times or events.

Cheers

Sampler

Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New online learning platform for kids stuck at home during COVID-19 lockdown
Posted 26-Mar-2020 21:35


New 5G Nokia smartphone unveiled as portfolio expands
Posted 26-Mar-2020 17:11


D-Link ANZ launches wireless AC1200 4G LTE router
Posted 26-Mar-2020 16:32


Ring introduces two new video doorbells and new pre-roll technology
Posted 17-Mar-2020 16:59


OPPO uncovers flagship Find X2 Pro smartphone
Posted 17-Mar-2020 16:54


D-Link COVR-2202 mesh Wi-Fi system now protected by McAfee
Posted 17-Mar-2020 16:00


Spark Sport opens its platform up to all New Zealanders at no charge
Posted 17-Mar-2020 10:04


Spark launches 5G Starter Fund
Posted 8-Mar-2020 19:19


TRENDnet launches high-performance WiFi Mesh Router System
Posted 5-Mar-2020 08:48


Sony boosts full-frame lens line-up with introduction of FE 20mm F1.8 G large-aperture ultra-wide-angle prime Lens
Posted 5-Mar-2020 08:44


Vector and Spark teamed up on smart metering initiative
Posted 5-Mar-2020 08:42


Schneider Electric launches new PDL Pro Series designed specifically for the commercial building market
Posted 5-Mar-2020 08:39


Kiwi app Pedigree DentaStix Studios uses pet images to counter impact of negative social media Content
Posted 5-Mar-2020 08:32


Samsung expands to New Zealand in 5G Networks Deal with Spark
Posted 5-Mar-2020 08:17


New Vodafone mobile data plans with unlimited data
Posted 26-Feb-2020 06:55



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.