RE: Autolaunch a .bat file
From: Michael--J (MichaelJ_at_discussions.microsoft.com)
Date: 11/30/04
- Next message: Zhijie: "Re: MMC card not working on Intel PXA27x (development kit)"
- Previous message: Sun: "how to run usb host controller"
- In reply to: Michael--J: "Autolaunch a .bat file"
- Next in thread: Yannick Chamming's [eMVP]: "Re: Autolaunch a .bat file"
- Reply: Yannick Chamming's [eMVP]: "Re: Autolaunch a .bat file"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Nov 2004 21:19:02 -0800
I tried changing the registry to:
[HKEY_LOCAL_MACHINE\init]
"Launch40"="\HardDisk\patch.bat"
But it still doesn't work. The contents of my batch file is this:
MOVE "\HardDisk\file.txt" "\HardDisk\test\file.txt"
CLS
Does the file specified in the registry have to be part of the OS image?
Does it need to be an .exe or can it be a .bat? Can it be located in the
\HardDisk? Thanks.
"Michael--J" wrote:
> 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
- Next message: Zhijie: "Re: MMC card not working on Intel PXA27x (development kit)"
- Previous message: Sun: "how to run usb host controller"
- In reply to: Michael--J: "Autolaunch a .bat file"
- Next in thread: Yannick Chamming's [eMVP]: "Re: Autolaunch a .bat file"
- Reply: Yannick Chamming's [eMVP]: "Re: Autolaunch a .bat file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|