Jump to content

Yzöwl

Patron
  • Posts

    4,113
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by Yzöwl

  1. Did you see my posting?In it I used two methods. Does the first look familiar at all?
  2. Yes, it's only valid until the end of the line and not 'that important'
  3. I have just had the same problem as the original poster, IE7 was not installed. I'm using v1.2.1 , could forgetting to remove WindowsXP-Windows2000-Script56-KB917344-x86-enu.exe be the cause? or have I missed something else?
  4. Nope... in my editor thats line 626. I said 828: Nice to see someones not full of `Christmas Spirit`.Its not just your editor, all of mine seem to agree with you! Oh and yes the Double Quotation Mark is missing in my copy too.
  5. The method will also depend largely upon the required content of the shortcut target. Examples: [Version] Signature = $Windows NT$ [DefaultInstall] ;UpdateInis = WayOne ;ProfileItems = WayTwo [WayOne] ;Startup shortcut - Windows Explorer opening in system32 directory ;Replace %16391% with %16408% for 'All Users' Startup directory setup.ini, progman.groups,, "group0=""%16391%\""" setup.ini, group0,,"""Windows Explorer"",""""""%10%\explorer.exe"""" /e,/root,%11%""" [WayTwo] ;Startup shortcut - Windows Media Player ;Remove `,1` at end of Name string for 'All Users' Startup directory Name = Windows Media Player,1 CmdLine = 16422,Windows Media Player,wmplayer.exe SubDir = Startup Remove the semicolon from either UpdateInis, ProfileItems or both under DefaultInstall in order to testAs you can see WayTwo is far easier to understand, but has limitations in the target field. Try to create the WayOne explorer command or even running an executable with a space in its name using WayTwo and you'll see what I mean. Hope this helps!
  6. Will this help @IF %~D0\ EQU %~DP0 @ECHO/%~NX0 is at root level &GOTO :EOF @FOR /F "DELIMS=" %%? IN ("%CD%") DO @ECHO/The `Parent Folder` is %%~N?
  7. No-ones ignoring the instructions, just missing them. The HFSLIP section of MSFN should be mirroring important instructions, not all instructions obviously, but important ones should not be limited to offsite. How many people, including that cab file want it broken? If, as I guess, the answer is not the majority, then the script should cater for that scenario. My suggestion would be if the cab exists and modifype doesn't echo the message. HFSLIP as I said is constantly updated, it's not as if you would need to go back to the drawing board with major recoding when and if Microsoft fix it. It would probably take as much work to re-edit the web page instructions as it would the script.
  8. Thank Kiki Surely though, especially with the frequency at which this script is updated, the header should be modifype'd as a default and therefore the check done automatically in the script. It sounds at present as if you will get it broken by default if you do not read the web site or script and that doesn't seem to be the most professional way to do it.
  9. Side note:Just because you were the thread starter, does not mean that you have a decision on when it is closed. The thread belongs initially to the board administration, then the entire community, but never to the thread starter. Many of the members, and other MSFN readers have a thirst for knowledge and would like to understand, rather than be just lazy and expect answers handed to them on a plate. The reason for my related responses in this thread is to provide that information for all those readers and my corrections and explanations were for that very purpose. Had you, as you had previously stated, tested and reported back, the thread would very likely have come to a natural end.
  10. It's actually only needed if you are using the HFEXPERT folders \WIN, \APPREPLACEMENT or \CODECS.However, I don't know if you're aware, but it also appears to be needed if you have OPUC4.CAB in HFCABS folder. In this case there would be no pre-checks and hence a problem!
  11. How am I, and the other Moderators here for that matter, supposed to have a Merry Christmas and Happy New Year when we are so upset with Members lack of courtesy, apology and understanding?
  12. Excuse me sir, but my continued responses to this thread were as a direct result of your response: Just because you have a lack of understanding, you should not allow that fact to cloud your judgement.If the detailed and very proper answers which I have provided had caused you some confusion then the correct procedure would have been to state that fact. Everything, up until this point, I have given in this thread, has been merely corrections to respondees errors, not, as you appear to think, requests for a brawl.
  13. I know I'm being ?nal here butIt was not my reasoning Sonic gave a value, you stated a result, I queried it with justification. And of course you asked for it! They do differ; two items (totalling A00) have been excluded! see belowAdd to <Archive> | 512 | 0x00000200 Compress to <Archive> and email | 2048 | 0x00000800 ______________________________ | ____ | _________ Total(s) | 2560 | 0x00000a00 Nobody requested testing You said you would report back!
  14. And the prize for Best Report goes to
  15. REGEDIT4 [HKEY_CURRENT_USER\Software\7-Zip\Options] "ContextMenu"=dword:00000f37You could, as I would also have it as a cascaded menu item REGEDIT4 [HKEY_CURRENT_USER\Software\7-Zip\Options] "CascadedMenu"=dword:00000001 "ContextMenu"=dword:00000f37
  16. That's odd! From that entry you should be getting Here is the options list I have!Extract files… 1 (0x00000001) Extract Here 2 (0x00000002) Extract to <Folder> 4 (0x00000004) Test Archive 16 (0x00000010) Open archive 32 (0x00000020) Add to archive… 256 (0x00000100) Add to <Archive> 512 (0x00000200) Compress and email 1024 (0x00000400) Compress to <Archive> and email 2048 (0x00000800) All of the Context Menu items above 3895 (0x00000f37)Select the ones you want and either add the decimal values and convert to hex using Microsoft Calculator add the (hex values) together directly using Microsoft Calculator
  17. Well from the information contained here, you may not need the additional double quotes in your 'output directory'. REG ADD %KEY%\046 /V 1 /D "%SYSTEMDRIVE%\install\7zip\7z442.exe /S /D=%PROGRAMFILES%\7-Zip" /F<Edit> Additionally, because only you are writing to the runonceex key and therefore not overwriting that particular value name, there is no need at all for the /f switch REG ADD %KEY%\046 /V 1 /D "%SYSTEMDRIVE%\install\7zip\7z442.exe /S /D=%PROGRAMFILES%\7-Zip" </Edit>
  18. Regardless of whether your commands are correct, should your code not read, REG ADD %KEY%\046 /V 1 /D "%systemdrive%\install\7zip\7z442.exe /S /D=\"%systemdrive%\program files\7-Zip\"" /f? Or better still, REG ADD %KEY%\046 /V 1 /D "%systemdrive%\install\7zip\7z442.exe /S /D=\"%programfiles%\7-Zip\"" /f?
  19. @ nodiaque Although its effect will be negligible, may I also suggest you shorten your file slightly too! Windows Registry Editor Version 5.00 ;============ Deleting any keyboard configuration already installed =========== [-HKEY_USERS\.DEFAULT\Keyboard Layout] [-HKEY_CURRENT_USER\Keyboard Layout] ;============ setting default user Canadian French Keyboard =================== [HKEY_USERS\.DEFAULT\Keyboard Layout\Preload] "1"="00010c0c" [HKEY_USERS\.DEFAULT\Keyboard Layout\Substitutes] "00010c0c"="00001009" [HKEY_USERS\.DEFAULT\Keyboard Layout\Toggle] "Hotkey"="3" "Language Hotkey"="3" "Layout Hotkey"="3" ;============= setting current user Candian French Keyboard ================ [HKEY_CURRENT_USER\Keyboard Layout\Preload] "1"="00010c0c" [HKEY_CURRENT_USER\Keyboard Layout\Substitutes] "00010c0c"="00001009" [HKEY_CURRENT_USER\Keyboard Layout\Toggle] "Hotkey"="3" "Language Hotkey"="3" "Layout Hotkey"="3"
  20. Here's an interesting one! Security RemoveIT Pro XT2 - database driven antivirus scanner
  21. @Rico.JohnnY Your code is wrong, try this to see what I mean! @ECHO OFF SET CURPATH=%~DP0 ECHO/%CURPATH% SET CURPATH=%CURPATH:~0,-2% ECHO/%CURPATH% PAUSE If the location of your running script was C:\Documents and Settings\Rico\Scripting\MyBatch.cmd, your registry input would look like this C:\Documents and Settings\Rico\ScriptinI think you may have been looking for %CURPATH:~0,-1%. I would still be tempted to go with IcemanNDs version which used the current path, and not the location of the script too! REG ADD HKCU\Software\Collectorz.com\Movie\Databases /V CurrentDatabase /D "%CD%" /F>NUL
  22. Once again, sorry for the thread hijack! TC, that's got nothing to do with tokens. Try this! @ECHO OFF SETLOCAL SET MYVAR=This is example number one ECHO %MYVAR% SET MYVAR= ECHO %MYVAR% ECHO But REM Use a slash or period right after the echo! ECHO. ECHO/ SET MYVAR=These are ECHO/%MYVAR% SET MYVAR=other examples ECHO.%MYVAR% SET MYVAR= ECHO/%MYVAR% ECHO.%MYVAR% ECHO That's all PAUSE ENDLOCAL
  23. Sorry for the bump… I just cannot believe that noboby is willing to give the fdv cmd script a go! PS. TC, you dont need to state all tokens, because with no delimiters, there is only one token. Findstr doesn't need a switch for case sensitivity, nor in this case a regular expression. In fact you dont really need findstr at all. FOR /F "DELIMS=" %%I IN ('FINDSTR ",,," SOURCE\I386\TXTSETUP.SIF') DO >>SEMITXT.TXT ECHO/;%%Iwould give the same output as your example. FOR /F "DELIMS=" %%I IN ('FIND ",,," ^<SOURCE\I386\TXTSETUP.SIF') DO >>SEMITXT.TXT ECHO/;%%Iwould also produce the same result. Of course the fact that the result has no similarity to that which was requested, both code fragments above are relatively pointless too!
  24. Well not quite...Posting your question in the correct place appears to have caused some confusion too!
×
×
  • Create New...