Jump to content

jaclaz

Member
  • Posts

    21,290
  • Joined

  • Last visited

  • Days Won

    53
  • Donations

    0.00 USD 
  • Country

    Italy

Everything posted by jaclaz

  1. No comment [1]. jaclaz [1] Both as "No comment" and as "No comment needed"
  2. Well, you posted: The little script above is a plain, simple, batch script, nothing particularly fancy, and definitely NOT Powershell, I don't think I EVER wrote anything so clear/self explaining. Essentially the variables are: %DirPath% <- comment: this is the directory path where you wish to search it is passed to the batch as first argument or %1 %LookFor% <- comment: this is the pattern to look for it is passed (optionally) to the batch as second argument or %2 The line in the batch: ECHO Looking for pattern "%LookFor%" in files in %DirPath% should have been self-explanatory. Abstracting from the minutiae, the batch is made of 3 (three) blocks of code: 1) do some minimal input validation: IF %1.==. (SET DirPath="%~dp0") ELSE (SET DirPath="%~1") IF NOT %DirPath:~-2,1%==\ SET DirPath="%DirPath:"=%\" IF NOT EXIST %DirPath% SET DirPath="%~dp0" SET LookFor=%2 IF NOT DEFINED LookFor SET LookFor=. 2) look for any file in with extension .zip in the path provided ECHO Looking for pattern "%LookFor%" in files in %DirPath%&ECHO. FOR /F "tokens=* delims=" %%A in ('dir /b /s %DirPath%') do ( REM ECHO %%~dpnxA IF %%~xA==.zip CALL :listzip "%%~dpnxA" ) 3) if such a file is found, use unzip to list its contents and pass these contents to the FINDSTR command: :listzip FOR /F "skip=2 tokens=* delims=" %%B IN ('unzip -l -q %1') DO ( SET Thisline=%%B IF "!ThisLine:~0,4!"=="----" ECHO.&GOTO :EOF ECHO %~1 !ThisLine:~28,50! | FINDSTR /I %LookFor% ) All the "magic" happens in this line where the filename found inside the zip is piped to FINDSTR: ECHO %~1 !ThisLine:~28,50! | FINDSTR /I %LookFor% FINDSTR is a documented command, its syntax is similar to REGEX, but not exactly it, a said: https://ss64.com/nt/findstr.html and can be replaced in the last line of the batch by any similar pipable command. like as said grep. If you have specific questions, by all means ask them. jaclaz
  3. https://www.theverge.com/2018/8/17/17724658/screen-time-blue-light-blindness-science jaclaz
  4. Sure , little green men are known for going on boards overnight (when they are bored after stealing socks) and replacing the sixth letter of the alphabet with 1's randomly. It is a known 1act. d@mn , they did it again , jaclaz
  5. Check the temperature of the CPU/that the heatsink is properly connected, first thing. Then, if that is OK, disconnect EVERYTHING from it (and from the motherboard). Leave ONLY video and keyboard connected. Boot (actually fail to boot) and enter the BIOS. If it stays on on the BIOS page, switch it off and re-add (one at the time or in small groups) all the other peripherals, add-on cards, hard disk(s), CD/DVD, etc. and repeat the above boot test (without starting the OS). jaclaz
  6. The original Author has discontnued the tool. Have you tried the unofficial 2.0 version? https://github.com/Bioruebe/UniExtract2/releases jaclaz
  7. Well, double-checking if it is a "1" or a "f" shouldn't take much time, at least we would know if we got that right or we are all barking up the wrong tree. jaclaz
  8. Better (for next time ) and possibly also waaay quicker (for the specific task): http://www.virtualdesktop.org/complete/index.html jaclaz
  9. Maybe . Snippet from the transcript of the video: On the page for the HP 15-F233WM there is only one file September 2016: https://support.hp.com/sk-en/drivers/selfservice/hp-15-f200-notebook-pc-series/7527799/model/8857447 F.32 Rev.A Release date: Sep 30, 2016 File name: SP77751.exe https://ftp.hp.com/pub/softpaq/sp77501-78000/sp77751.exe Whilst the F.29 Rev.A is from August 2016 Release date: Aug 1, 2016 File name: SP76871.exe https://ftp.hp.com/pub/softpaq/sp76501-77000/sp76871.exe and there are n later versions (that presumably and hopefully have not introduced a regression bug). The model name (in the video) is definitely HP 15-F233WM, maybe it is the same one as Tommy has , as I could find no trace of a HP 15-1233wm? The family is seemingly f200: https://support.hp.com/sk-en/product/hp-15-f200-notebook-pc-series/7527799 I have found a number of posts on HP support forums where the thingy is called 1233WM (and responders usually reply about f233WM) maybe the small "f" is printed in such a way that it can be confused with a "1"? Among the ones related to the f233 model, one (well before September 2016) has no issues with ACPI (only with USB, obviously): https://h30434.www3.hp.com/t5/Notebook-Operating-System-and-Recovery/15-233wm/td-p/5267922 and another one (October 2017) as well has no issues with ACPI, only with drivers: https://h30434.www3.hp.com/t5/Notebook-Operating-System-and-Recovery/HP-15-f233wm-laptop-installing-windows-7/td-p/6387015 Actually the latter (provided that the info in it is accurate) points to another HP model that should be using almost all the same drivers (NOT the BIOS/firmware) as the f233, the HP 250 G4: https://support.hp.com/us-en/drivers/selfservice/hp-250-g4-notebook-pc/7609933 jaclaz
  10. I believe that kind of setup is called in jargon SMVMS (Slow Matrioschka Virtual Machine Set) or LTVMM (Letargic Telescopic Virtual Machine Mixup). jaclaz
  11. You mean this one? https://www.youtube.com/watch?v=LDgEZ-6kGQU Surely a very good source of technical info. jaclaz
  12. Naah, those apply to the southern hemisphere only, in the northern one you need a crossbow, an hourglass, three goats and a trumpet : https://www.imdb.com/title/tt1298650/quotes/qt1491333 Just in case: https://support.microsoft.com/en-us/help/262841/command-line-switches-for-windows-software-update-packages jaclaz
  13. How (exactly) did you try to install? In some cases installing "the right way" (i.e. applying the .wim with imagex/bcdboot/bootsect thus bypassing the actual Windows setup and running - if needed - a bootrec.exe) allows to install. Check: http://reboot.pro/topic/10126-nt-6x-fast-installer-install-win7-directly-to-usb-external-drive/ and/or its successor WINNTSETUP: https://msfn.org/board/topic/149612-winntsetup-v391/ jaclaz
  14. It's the same link twice, once in German, the second in English. The procedure is rather complex (actually more lengthy then complex), but it is broken down in 21 points, WHICH one(s) are not clear to you? jaclaz
  15. The actual howto's being here: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-operating-system-package-servicing-command-line-options https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-or-remove-packages-offline-using-dism This is simpler/more to the point: https://www.madsd.dk/blog/comments.php?entry_id=17 Though normally updates are integrated to the install.wim, not to the boot.wim, it is possible that there are some other pre-requisites/sub-systems that need to be integrated as well to have that working. jaclaz
  16. https://web.archive.org/web/20130720124000/http://dl.dropboxusercontent.com/u/15391619/Public/Windows2000/UpdateRollup2/Stable/Windows2000-UpdateRollup2-x86-ENU.txt http://www.mediafire.com/file/n53jiauxb0kqnig/Windows2000-UpdateRollup2-x86-ENU.exe jaclaz
  17. ... and to the good work by Akeo/Pete Batard (the Rufus program that has alleviated the booting troubles of countless Windows and Linux users). jaclaz
  18. I understand that. Point I was trying to make - since your nick is shorterxp and you are using seemingly XP - is that choice.exe is NOT available in XP (nor it is on NT 4.0 or 2K) as it has been re-added to the OS starting from Vista. So, if you want to create a "portable" .cmd making use of choice.exe you need to (you choose): 1) limit its use to Vista and later system 2) add to the batch a copy of choice.exe or - in case of redistribution, since MS choice.exe is NOT redistributable - add one of the free replacements for it 3) use a "built-in" replacement/trick/workaround I checked and the robvanderwoude.com does work BUT it does not provide one of your requests (choosing with a single keypress without pressing ENTER). The other suggested workaround BOTH works and provides the feature you asked for: https://www.dostips.com/forum/viewtopic.php?t=5409 basically: for /F "delims=" %%L in ('xcopy /L /w "%~f0" "%~f0" 2^>NUL') do ( if not defined key set "key=%%L" ) a more complete example: @ECHO OFF SET mykey= :myChoice SET myChoice=A suffusion of yellow ECHO Please Choose: ECHO Press 1 for Option 1 ECHO Press 2 for Option 3 ECHO Press A for Option Z :w00t: ECHO Press Enter to choose to not choose for /F "delims=" %%L in ('xcopy /L /w "%~f0" "%~f0" 2^>NUL') do ( if not defined mykey set "mykey=%%L" ) SET mykey=%mykey:~-1,1% IF NOT DEFINED mykey (ECHO You pressed [Enter]) ELSE (SET myChoice=%mykey%) ECHO You chose: %myChoice% jaclaz
  19. No. At the most (not as posted) it will convert a volume (F: in this case) to NTFS. https://ss64.com/nt/convert.html jaclaz
  20. Thank you for keeping us up to date with your activities. jaclaz
  21. Or if they were allowed to or told to, Beside some usual form of programmers' rectius software engineers' lazyness and historical shortsightedness I suspect that the real issue is management, driven by a debatable company culture and sometimes by evident incompetence. jaclaz
  22. No doubt about that, still lots of people use it, and though it has its glitches, the OP preamble is not accurate: ... except the good people in the thread you hyperlinked to, and that seemingly provides a valid solution/workaround to the issue (change the declared CPU in the VM). Comeon, don't be so negative , if you think about it, if the good MS guys actually worked and worked smartly[1], we would have less than half the fun . jaclaz [1] in the sense of actually fixing the stupid errors they themselves periodically create
  23. Well, if you create a new BCD and import it, it should normally write to NVRAM. My guess is that not all UEFI/NVRAM behave the same. You could try with Powershell and the WMI provider: https://www.codeproject.com/Articles/833655/Modify-Windows-BCD-using-Powershell https://docs.microsoft.com/en-us/previous-versions/windows/desktop/bcd/importstorewithflags-bcdstore jaclaz
  24. Well that uses CHOICE. I wonder if we are communicating jaclaz
×
×
  • Create New...