Jump to content

giarc

Member
  • Posts

    28
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by giarc

  1. Hi all, don't know if this has been shared before (did a quick search and couldn't find it), following is the core of a batch file I wrote to rename hotfixes to KBxxxxxx.exe format. Saves manually doing it. Note: I found that it does not work with the .NET hotfixes, and have not yet looked at WMP and some others, but definately works with all the critical updates and most of the optional ones. If anyone has anything better I'd be interested to see Is a bit messy as had to account for where the first line does not cater for all file names. for %%v in (*-*-*-*.exe) do for /f "tokens=1-5 delims=-." %%k in ("%%v") do ren "%%v" "%%l.%%o" for %%v in (*.ENU) do for /f "tokens=1-2 delims=." %%k in ("%%v") do ren "%%v" %%k.exe for %%v in (*.x86) do for /f "tokens=1-2 delims=." %%k in ("%%v") do ren "%%v" %%k.exe for %%v in (*.34) do for /f "tokens=1-2 delims=." %%k in ("%%v") do ren "%%v" %%k.exe for %%v in (*-*-*.exe) do for /f "tokens=1-4 delims=-." %%k in ("%%v") do ren "%%v" "%%l.%%n"
  2. nevermind, found a sample CD layout file here...
  3. Hi all , firstly great forum... Was pointed in the direction of it when I was looking for a way to change my cmd prompt to go straight to c:\ as aposed to c:\documents and settings blah blah... Found that and a whole lot more, so thanks Been reading through the article on setting up an unattended cd/dvd, but am having trouble understanding where to put files specifically if I want them to run from the cd/dvd and not copy to the HD. Files in particulare are reg scripts, cmdlines.txt and runonceex.cmd. What I am understanding the article to say is that cmdlines.txt and runonceex.cmd are to be in the root of the $oem$ is that correct? Also, if I understand the article correctly, everything in the $oem$ folder gets copied to the system drive (for sake of argument c:), so applications to install from runonceex.cmd can be put in an apps path outside of $oem$, is the same true of the reg scripts? Thanks in advance
×
×
  • Create New...