Cybermurder Posted November 28, 2004 Posted November 28, 2004 Hello,in the example file example.xml is a part how shows so: <execute display='Applying tweaks...' program='regedit' arguments='/s "%SYSTEMDRIVE%\PostInstall\RegTweak.reg"' username='Spike' password='swordfish' />The part with program='regedit' do interesting me.. Why just regedit? Why not %Systemroot%/regedit.exe?. Can i use regsvr32 so standalone, too? :<execute program='regsvr32' arguments='/u /s zipfldr.dll' hide='true' />
thehalon Posted November 28, 2004 Posted November 28, 2004 never tested it.. never used it...but should work... go to CMD and type 'path' every *.exe *.cmd well you can run everything from there without typing the pathlol.... is there anyone who can convert this to standard english pls?
prathapml Posted November 28, 2004 Posted November 28, 2004 @thehalonThat's right.@CyberMurderYes, you can use regedit, regsvr32, CMD, cscript, notepad, and such EXEs directly, without needing to give full path-names. If you want to see what other executables can be directly run, go to this registry key for a full list:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App PathsAll the EXEs listed there can be directly run. How does it work?The listed EXEs there, have their full-paths already known to the system/registry - so that you don't need to specify the path.
Wraith Posted November 29, 2004 Posted November 29, 2004 It also searches %PATH%.Err. n/m. I didn't read the other post.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now