Jump to content

bphlpt

Ultimate Sponsor
  • Posts

    1,403
  • Joined

  • Last visited

  • Days Won

    64

Everything posted by bphlpt

  1. Thanks Rick! Cheers and Regards
  2. Would it be appropriate to add in some of the old VB runtimes that are occasionally needed for old software compatibility, or not? Cheers and Regards
  3. Thanks Rick! Cheers and Regards
  4. You might want to edit the thread title to [solved] or something. Cheers and Regards
  5. Here's a link to a pretty good table showing the value of the Windows Environment Variables for both XP and Win7 - http://ss64.com/nt/syntax-variables.html Cheers and Regards
  6. Date can be VERY tricky if you want to make sure that it works correctly worldwide. I've used this reliably: :: ############################################################################# :: :f_GetDate _TodayDate _Year _Month _DayOfMonth :: :: Load the ISO format date for today and local date components into variables. :: :: Usage: CALL :f_GetDate _TodayVariable _YearVariable _MonthVariable _DayOfMonthVariable :: :: This function should get the correct local system date components copied :: into the arguments, passed by reference, regardless of where in the world :: this is run, independent of "International" settings. The arguments are: :: :: %1 - Variable to receive the date in ISO format (by ref) :: %2 - Variable to receive year, 4 digits (by ref) :: %3 - Variable to receive month, 2 digits, 01 to 12 (by ref) :: %4 - Variable to receive day of month, 2 digits, 01 to 31 (by ref) :: :: The date in ISO format is equivalent to: %_Year%-%_Month%-%_DayOfMonth% :: :: Dependencies: START, REGEDIT [Utilizes a temp file %TEMP%.\_Temp.reg] :: :: Originally writen by Rob van der Woude - http://www.robvanderwoude.com as :: SortDate, Version 3.10 for Windows NT4/2000/XP. Adapted for Windows XP with :: help from Kailash Chanduka. Modified slightly by bphlpt. :: :: Upon exit, ERRORLEVEL is set to 0. :: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :: :f_GetDate _TodayDate _Year _Month _DayOfMonth SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION :: Export registry settings to temp file, read exported data START "GET iDATE and sDATE" /WAIT REGEDIT /E "%TEMP%.\_Temp.reg" "HKEY_CURRENT_USER\Control Panel\International" FOR /F "tokens=1* delims==" %%G IN ('TYPE "%TEMP%.\_Temp.reg" ^| FIND /I "iDate"') DO (SET _iDate=%%H) FOR /F "tokens=1* delims==" %%G IN ('TYPE "%TEMP%.\_Temp.reg" ^| FIND /I "sDate"') DO (SET _sDate=%%H) :: Delete quotes and delete temp file (SET _iDate=%_iDate:"=%) (SET _sDate=%_sDate:"=%) del "%TEMP%.\_Temp.reg" >nul 2>&1 :: Parse today's date depending on registry's date format settings IF %_iDate%==0 (FOR /F "tokens=1-4* delims=%_sDate%" %%G IN ('DATE/T') DO (SET "_Year=%%I"&SET "_Month=%%G"&SET "_Day=%%H")) ELSE ( IF %_iDate%==1 (FOR /F "tokens=1-4* delims=%_sDate%" %%G IN ('DATE/T') DO (SET "_Year=%%I"&SET "_Month=%%H"&SET "_Day=%%G")) ELSE ( IF %_iDate%==2 (FOR /F "tokens=1-4* delims=%_sDate%" %%G IN ('DATE/T') DO (SET "_Year=%%G"&SET "_Month=%%H"&SET "_Day=%%I")))) :: Remove the day of week if applicable (FOR %%G IN (%_Year%) DO (SET "_Year=%%G"))&(FOR %%G IN (%_Month%) DO (SET "_Month=%%G"))&(FOR %%G IN (%_Day%) DO (SET "_Day=%%G")) :: Return date and components ENDLOCAL&(SET "%2=%_Year%"&SET "%3=%_Month%"&SET "%4=%_Day%"&SET "%1=!%2!-!%3!-!%4!")&EXIT /B 0 And this for time: :: ############################################################################# :: :f_GetTime _Time :: :: Load time in a variable, zero padded using ONLY "standard" delimiters (:.) :: :: Usage: CALL :f_GetTime _Time :: :: %_Time% will be set to HH:MM:SS.MSC - NOTE: that MS is now THREE digits :: :: Although the default time delimiter, in Windows XP and above is either . or : :: users can change the delimiter to just about any character they like. And you :: know theres always that one guy, the one who writes everything in green ink, :: who will do this! This script always returns HH:MM:SS.MSC, note that MS :: is now 3 digits, no matter which time delimiter has been set in the control :: panel. Based on a discussion at ss64.com, with input from avery_larry and :: bluesxman, and tweaks by bphlpt using examples by Frank Westlake. :: :: Dependencies: None :: :: Upon exit, ERRORLEVEL is set to 0. :: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :: :f_GetTime _Time SETLOCAL ENABLEEXTENSIONS FOR /F "tokens=1-3 delims=1234567890 " %%G IN ("%TIME%") DO (SET "_Delims=%%G%%H%%I") FOR /F "tokens=1-4 delims=%_Delims% " %%G IN ("%TIME%") DO (SET "_hh=00%%G"&SET "_min=00%%H"&SET "_ss=00%%I"&SET "_ms=00%%J0") ENDLOCAL&(SET %1=%_hh:~-2%:%_min:~-2%:%_ss:~-2%.%_ms:~-3%)&EXIT /B 0 Cheers and Regards
  7. Not to forget the Komm option if he is still keeping his list up to date. Cheers and Regards
  8. @RicaNeaga, have you seen anyone's software/addons, (not Rick's of course ), that cause "glitches when running with newer vc++ runtimes"? I'm not sure I understand which problems/errors you are concerned about. EDIT: I guess you're concerned because you see Rick, and others, slim their various addons by removing old Visual C++ runtimes? This has been done for years. This has no impact at all on any other installed software, just that particular addon. The reason that the original software suppliers started including the runtimes was so that in case Joe Blow User had not kept up with the MS updates, or had never installed any to begin with, the software wouldn't either error with a "file not found" error or make the user download and install the runtime from MS before their software would work. So they were just trying to make the user's experience a positive one. Unfortunately, some of the installers were written badly and did a horrible job of checking to see if the required runtimes were indeed already installed, so the user could end up with a dozen different copies of the exact same file scattered throughout their machine, along with a cluttered registry as a result. I'm sure you've had that happen to you like I have as well. So, figuring that the user who uses slimmed addons is hopefully smart enough to know that they need to install an up to date runtime package, such as the one Rick has available, addon makers will often strip out the runtimes from the individual addon packages and make sure that the addon installer checks in the correct place, and in the correct way, that the necessary runtimes are installed and linked to the addon software. As long as the addon maker has verified that his addon works correctly when up to date runtimes are in place before releasing their addon, and I assure you that Rick does that, then you should have no problems at all regarding runtimes. Cheers and Regards
  9. Thanks, I hadn't realized that, so I guess v7 is now final and I can quit installing v6 as well. Cheers and Regards
  10. @compstuff, personally, I use both v6 and v7. You are able to install and uninstall both of them separately. I know not everyone agrees with this approach, but my feeling is that as long as v7 is not officially final, I will keep both v6 and v7 installed. There were, and perhaps are I'm not sure, some apps that didn't play nice with v7. When v7 goes final I will uninstall v6. That's what I recommend if anyone asks Cheers and Regards
  11. But that file type was abandoned over 14 years ago: So I don't think that it now being used by WinKit will cause any problems, do you? Cheers and Regards
  12. Thanks N1K! Cheers and Regards
  13. Best of luck with the rest of the school year Cheers and Regards
  14. According to the info at the link you provided, that app does NOT remove hard links, but rather it says it CREATES them to replace files in the WinSXS folder that are copies of files elsewhere on your system. But I thought that the files in the WinSXS folder were already links rather than copies, so now I'm confused. I seem to stay that way these days. LOL Cheers and Regards
  15. Lego, no pressure - I'm sure you have enough of that from University. I personally have not used KUC, but from what I have read it goes beyond SoLoR's list as to what updates it covers. Just as SoLoR's list goes beyond what MS normally offers, KUC goes beyond SoLoR's list. Komm tries to coordinate with SoLoR so that the two agree where they overlap. So when you have a chance I think it would be worthwhile looking into including Komm's list and update checker. Whether it's used instead of SoLoR's list, since I think it includes everything in it, or it's offered as an optional alternative will be something that you'll have to decide. Cheers and Regards
  16. That's a wonderful suggestion Rick! Ever since Lego was able to smoothly incorporate Solar's list and Komm came up with his update checker I've been hoping that Lego could combine the best of all these great tools. When he's finished with exams of course. Cheers and Regards
  17. From the link that OnePiece gave above: which seems to say that it can be used to service Win7 images, if I read that right. I will be very interested to find out how many of the new features in this edition of DISM, such removing packages, can truly be used on Win7. Cheers and Regards
  18. Try using Win Kit again. Use this as a guide - http://www.wincert.net/forum/topic/9217-proyecto-windows-7-sp1-actualizado/ It's in Spanish, but Google Translate does a pretty good job. Cheers and Regards
  19. Nor, as far as I know, is it ever automatically installed from anywhere. If you want MS Security Essentials I thought you had to specifically ask for it to be downloaded and installed. So, like nonno fabio, I also do not understand your request, @razvi. Why do you need MS Security Essentials to be removed? If you don't want it, then don't download and install it. Cheers and Regards
  20. Thanks for these. I've watched the videos you mention and the idea is intriguing. As to the high def links, I found the high def links to the following images are either broken, missing or at least misnamed: http://fc06.deviantart.net/fs70/i/2012/082/2/9/splinter_stock___joker_____a_c__contest_promo_by_dipperdon-d4irm5w.png http://fc08.deviantart.net/fs71/i/2012/082/c/c/splinter_stock___one_with_the_crowbar_by_dipperdon-d4mj186.png http://fc08.deviantart.net/fs70/i/2012/101/5/e/splinter_stock___story_editiion_renders_by_dipperdon-d4vtiyb.png http://fc07.deviantart.net/fs70/i/2012/103/c/1/splinter_stock___stack_pack_by_dipperdon-d4q3sh0.png http://fc07.deviantart.net/fs71/i/2012/101/9/f/splinter_stock___starkiller_splicons_by_dipperdon-d4vtod6.png http://fc06.deviantart.net/fs70/i/2012/082/8/3/splinter_stock___tank_by_dipperdon-d4os856.png Could you please provide corrected links for them? Thanks in advance. Cheers and Regards
  21. bphlpt

    Drama Video

    LOL Thanks, N1K! Cheers and Regards
  22. I would suggest waiting until the next version is released, I would expect probably in the next day or so, and try it. It should answer your questions better than trying to explain it. Cheers and Regards
  23. Karen Kenworthy was a great app developer. She died almost a year ago now - http://langa.posterous.com/rip-karen-kenworthy - She is missed. Thanks for reminding folks that her apps are still appropriate, Elmer. Cheers and Regards
  24. @ottuh, which installer are you having problems with? As RicaNeaga said, if the installer it self has a switch to make it silent, sometimes it helps to use it as well. Cheers and Regards
  25. Did you mean to post this question under the Win Toolkit subforum? Cheers and Regards EDIT: Thanks for moving this thread N1k.
×
×
  • Create New...