Jump to content

Shortcut how regedit


Cybermurder

Recommended Posts

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' />

Link to comment
Share on other sites


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 path

lol.... is there anyone who can convert this to standard english pls?

Link to comment
Share on other sites

@thehalon

That's right.

@CyberMurder

Yes, 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 Paths

All 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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...