MSFN Forum: Shortcut how regedit - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Shortcut how regedit Rate Topic: -----

#1 User is offline   Cybermurder 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 27-August 04

Posted 28 November 2004 - 08:18 AM

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



#2 User is offline   thehalon 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 03-August 04

Posted 28 November 2004 - 12:34 PM

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?

#3 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 November 2004 - 02:27 PM

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

#4 User is offline   Wraith 

  • Dr. Nick
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,256
  • Joined: 01-January 04

Posted 29 November 2004 - 03:46 AM

It also searches %PATH%.




Err. n/m. I didn't read the other post. :P

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy