You are here

auto start application

2 posts / 0 new
Last post
jackfusion
Offline
Last seen: 12 years 6 months ago
Joined: 2006-03-06 12:35
auto start application

Sorry I have posted the information in Other App support as well not knowing where would be the best place for it.

When I change
[HKEY_CLASSES_ROOT\USBStart\DefaultIcon]
@="H:\\pstart.exe,1"
to
[HKEY_CLASSES_ROOT\USBStart\DefaultIcon]
@="%HD%\\pstart.exe,1"
and
[HKEY_CLASSES_ROOT\USBStart\shell\open\command]
@="H:\\pstart.exe"
to
[HKEY_CLASSES_ROOT\USBStart\shell\open\command]
@="%HD%\\pstart.exe"

it gives me an error H:\ Access is Denied. Is there a way to fix this?

source: https://portableapps.com/node/429

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\MixedContentOnArrival]
"USBStart"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\ShowPicturesOnArrival]
"USBStart"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\PlayMusicFilesOnArrival]
"USBStart"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\USBStart]
"Action"="Open pstart"
"DefaultIcon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
53,00,48,00,45,00,4c,00,4c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
00,38,00,00,00
"InvokeProgID"="USBStart"
"InvokeVerb"="open"
"Provider"="PStart"

[HKEY_CLASSES_ROOT\USBStart]
@="PStart (ISO)"

[HKEY_CLASSES_ROOT\USBStart\DefaultIcon]
@="H:\\pstart.exe,1"

[HKEY_CLASSES_ROOT\USBStart\shell]

[HKEY_CLASSES_ROOT\USBStart\shell\open]

[HKEY_CLASSES_ROOT\USBStart\shell\open\command]
@="H:\\pstart.exe"

Deuce
Offline
Last seen: 12 years 1 week ago
Developer
Joined: 2005-12-24 16:32
%HD%

Did you set this enviroemtnal value or is it already set within windows??

As far as I can tell, I cannot get this setup to work on my machine, it will not accept the %HD% variable.

***********************************
Deuce   {The Core}
"Portable Software: Just the beginning..."

Deuce
Portable Software: Just the beginning.

Topic locked