home *** CD-ROM | disk | FTP | other *** search
/ terabyteunlimited.com / 2014.06.terabyteunlimited.com.tar / terabyteunlimited.com / ifwbatv2.zip / Profile.cmd < prev    next >
OS/2 REXX Batch file  |  2008-02-26  |  5KB  |  123 lines

  1. :: ########################################################################################################
  2. :: Last Modified: February 26, 2008
  3. :: Please refer to ProfileHelp.txt for an explanation of each option specified in this file.
  4. @echo off & cls & setlocal enableextensions
  5. ver | find "Version 5." >nul
  6. set VerCheck1=%ErrorLevel%
  7. ver | find "Version 6." >nul
  8. set VerCheck2=%ErrorLevel%
  9. set VerCheck=%VerCheck1%%VerCheck2%
  10. if "%VerCheck%"=="11" (echo These scripts run only on Windows 2000 or later.) & (MsgBox "These scripts run only on Windows 2000 or later." "Image for Windows Scripts" 4 1) & (goto :EOF)
  11. :: Do not make routine changes above this line.
  12. :: ########################################################################################################
  13.  
  14. :: <---- START OF PROFILE ---->
  15.  
  16. :: ########################################################################################################
  17. :: The settings in the following section are required, regardless of where images are to be saved.
  18. :: ########################################################################################################
  19.  
  20. set IFWPath=C:\Program Files\TeraByte Unlimited\Image for Windows\V2\imagew.exe
  21. set IFWParms=
  22. set ImageName=
  23.  
  24. :: ########################################################################################################
  25. :: The settings in the following section are only applicable if you are saving images to a hard drive.
  26. :: When saving images to a hard drive, each of the options listed in this section are required.
  27. :: READ PROFILEHELP.TXT BEFORE SETTING BACKUPPARENTDIR!
  28. :: ########################################################################################################
  29.  
  30. set BackupParentDir=
  31. set Space=
  32.  
  33. :: ########################################################################################################
  34. :: When saving images to an optical drive, the TargetOpticalDrive setting below is required.
  35. :: It must be left blank if is not used.
  36. :: ########################################################################################################
  37.  
  38. set TargetOpticalDrive=
  39.  
  40. :: ########################################################################################################
  41. :: The settings in the following section are optional.  However, they are still important, and should be
  42. :: reviewed.  Refer to ProfileHelp.txt for more information.
  43. :: ########################################################################################################
  44.  
  45. set IFWScriptPath=
  46.  
  47. set IFWLogPath=
  48.  
  49. set AppendToLog=1
  50.  
  51. set PromptBeforeRun=1
  52. set PromptText=Do you want to run the Image for Windows batch process?
  53. set PromptTimeout=
  54.  
  55. set NotifyComplete=1
  56. set NotifyNormalTimeout=
  57. set NotifyErrorTimeout=
  58.  
  59. set RunPrior01=::nircmd.exe emptybin
  60. set RunPrior02=
  61. set RunPrior03=
  62. set RunPrior04=
  63. set RunPrior05=
  64. set RunPrior06=
  65. set RunPrior07=
  66. set RunPrior08=
  67. set RunPrior09=
  68. set RunPrior10=
  69. set RunPrior11=
  70. set RunPrior12=
  71. set RunPrior13=
  72. set RunPrior14=
  73. set RunPrior15=
  74.  
  75. set RunAfterAlways01=::start "" Notepad.exe "%IFWLogPath%"
  76. set RunAfterAlways02=
  77. set RunAfterAlways03=
  78. set RunAfterAlways04=
  79. set RunAfterAlways05=
  80. set RunAfterAlways06=
  81. set RunAfterAlways07=
  82. set RunAfterAlways08=
  83. set RunAfterAlways09=
  84. set RunAfterAlways10=
  85. set RunAfterAlways11=
  86. set RunAfterAlways12=
  87. set RunAfterAlways13=
  88. set RunAfterAlways14=
  89. set RunAfterAlways15=
  90.  
  91. :: Note: The use of "\BackupChildDir\" below (rather than "\%BackupChildDir%\") is correct and intentional.
  92. ::       It works because delayed variable expansion is used for the applicable RunAfterCondXX variable.
  93. ::       Please refer to the :RunIFW section of the IFWv2.cmd script to see where this takes place.
  94.  
  95. set RunAfterCond01=
  96. set RunAfterCond02=
  97. set RunAfterCond03=
  98. set RunAfterCond04=
  99. set RunAfterCond05=
  100. set RunAfterCond06=
  101. set RunAfterCond07=
  102. set RunAfterCond08=
  103. set RunAfterCond09=
  104. set RunAfterCond10=
  105. set RunAfterCond11=
  106. set RunAfterCond12=
  107. set RunAfterCond13=
  108. set RunAfterCond14=
  109. set RunAfterCond15=
  110.  
  111. :: ########################################################################################################
  112. :: Do not make routine changes below this line.
  113.  
  114. set CalledFromProfile=1
  115. if not defined IFWScriptPath (call %0\..\IFWv2.cmd) else (call "%IFWScriptPath%")
  116. if not defined IFWScriptFound (echo The main IFW script was not found.  Please configure the IFWScriptPath setting in %0.) & (MsgBox "The main IFW script was not found.  Please configure the IFWScriptPath setting in the profile script." "Image for Windows Scripts" 4 1)
  117.  
  118. :: <---- END OF PROFILE ---->
  119.  
  120. :: Copyright (c) 2008 TeraByte, Inc.  All Rights Reserved.
  121.  
  122. :: End of script
  123.