Autolaunch a .bat file

From: Michael--J (MichaelJ_at_discussions.microsoft.com)
Date: 11/30/04


Date: Mon, 29 Nov 2004 17:42:34 -0800

Hi,

is there any way of autolaunching a batch file in CE 5.0? All i want to do
is basically rename, delete, and move some files upon startup. I have tried
the following:

[HKEY_LOCAL_MACHINE\init]
    "Launch40"="patch.bat"

[HKEY_LOCAL_MACHINE\Loader]
    "SystemPath"=multi_sz:"\\HardDisk","\\Release\\"

patch.bat is the batch file i want to execute and is located in \HardDisk. I
tried this out but it didn't work because the associated files i wanted to
change didn't change. Is there another approach to this? Thanks



Relevant Pages

  • Re: Sysprep and Boot.ini
    ... First thing I'd be saying to vendor is "that's pretty piss-poor, hope you guys are planning on getting your act together". ... Guessing the big prob for you is that it needs to be done prior to the first real bootup as otherwise you're going to hit that menu. ... Have a look around for info on using commandlines.txt, it basically does its thing during the mini-setup so you could have a batch file that copies a replacement boot.ini over at that time, before any real bootup happens, and that should resolve the problem. ... A piece of software causes Windows to startup every time with a "windows did not startup properly" screen. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Copy a file accross a LAN during startup
    ... I would download sleep.exe and have your batch file ... > map all the drives and everything before the rest of the batch files runs. ... >> do this and put it in the startup folder of her computer. ... >> file across the LAN. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Autolaunch a .bat file
    ... The main purpose of my batch file is to update that particular app. ... put my batch file in the startup directory... ... I'm not sure that CE is able to launch .bat ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Copy a file accross a LAN during startup
    ... it still did not pause and wait for any key to be pressed. ... The items under both seem to fire at startup. ... > Then I would suggest that the batch file either did not run, ... >>> do this and put it in the startup folder of her computer. ...
    (microsoft.public.win2000.cmdprompt.admin)