home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Software / Freeware / Utilitare / pebuild / plugin / autorun / autorun_nu2menu.xml next >
Text File  |  2003-09-18  |  461b  |  17 lines

  1. <!-- Nu2Menu entry for AutoRun -->
  2. <NU2MENU>
  3.     <MENU ID="Programs">               
  4.         <MITEM 
  5.             TYPE="POPUP" 
  6.             DISABLED="@Not(@FileExists(@GetWinDir()\System32\autorun.cmd)))" 
  7.             MENUID="Startup">
  8.             Startup</MITEM>
  9.     </MENU>
  10.     <MENU ID="Startup">      
  11.         <MITEM 
  12.             TYPE="ITEM" 
  13.             DISABLED="1">
  14.             @Null(@Exec('cmd.exe /c if not [%AutoRun%]==[1] %SystemRoot%\System32\autorun.cmd',0))@Null(@SetEnvVar('AutoRun','1'))AutoRun</MITEM>
  15.     </MENU>
  16. </NU2MENU>
  17.