Jump to content

bphlpt

Patron
  • Posts

    2,342
  • Joined

  • Last visited

  • Days Won

    2
  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by bphlpt

  1. I don't know about Win 8.x, but the option is still there in Win 7. Windows Explorer -> Set up the folder as you want similar folders to appear -> Tools -> Folder Options -> View -> Folder views -> Apply to Folders Cheers and Regards
  2. It's posted in the first post in the spoiler, I believe. Cheers and Regards
  3. Welcome! Cheers and Regards
  4. @5eraph, I absolutely love ss64.com, and robvanderwoude.com as well, for batch reference, but you probably misinterpreted the two special case examples given the first thing on your ss64 source page. I might not be wording this completely right, but I'll try. The key to remember is that without delayed expansion enabled, and/or variables using %, each batch statement is parsed and evaluated in its entirety with the value of the % variables as they were just before the statement was executed. In the first example: Set _var=firstSet _var=second& Echo %_var% !_var!The second line, and any other time that multiple statements are connected with & or || or &&, is considered to be ONE batch statement which is why %_var% and !_var! will have different values when delayed expansion is enabled. As jaclaz said, ' with delayed expansion on and ! you get the "current" value, whilst with % you get the value it had "before" '. The same is true with a FOR loop, or IF THEN, or any other collection of statements enclosed in parentheses, regardless if it is multi-line or all on one line. That is one batch statement, no matter how many lines are involved, that is parsed completely before it is executed. The second example is even trickier, but it basically is a way of escaping a redirection, and other characters that would normally "screw up" a batch command by trying to cause an action, to be able to use batch to work with HTML and XML statements. You can find another explanation of EnableDelayedExpansion here - http://blogs.msdn.com/b/oldnewthing/archive/2006/08/23/714650.aspx Hope that helps. Cheers and Regards
  5. Go to the RyanVM link, then go to the first post in that thread. The link to his drive folder is at the bottom of that first post. Direct link to the RyanVM post where you can fine the link - http://www.ryanvm.net/forum/viewtopic.php?t=10321 Cheers and Regards
  6. You would be correct 5eraph, if the variable usage had been inside a FOR loop, but not if it is just consecutive statements, unless I'm not understanding what you mean. In other words: @ECHO OFFSETLOCAL ENABLEDELAYEDEXPANSIONSET "_OSV=1"SET "_OSV=2"SET "_OSV=3"SET "_OSV=4"SET "_OSV=5"SET "_OSV=6"SET "_OSV=7"SET "_OSV=8"SET "_OSV=9"SET "_OSV=0"SET "_OSV=" & FOR /f "TOKENS=2 DELIMS=[]" %%A IN ('VER') DO FOR /f "TOKENS=2,3 DELIMS=. " %%B IN ("%%~A") DO SET "_OSV=%%B.%%C"ECHO= _OSV=%_OSV%ECHO= _OSV=!_OSV!will output two lines of the same thing -- _OSV=5.1 (or whatever the value is for your OS) Cheers and Regards
  7. Well D@mn, [ stupid, stupod, stoopid me! Corrected posts above.] Thanks 5eraph, though since the IF was not in a FOR loop or nested in any way I think it should have been: IF NOT "%_OSV%."=="5.1." GOTO:NOTXP and not exclamation marks, right? NOTE: This correction should not effect the last suggested test I made to Rick, since _OSV was not used. Cheers and Regards
  8. bphlpt

    Multiboot CD?

    You should probably add code to strip any slashes from MBOOTPATH prior to the [ IF NOT "%MBOOTPATH%"=="Default" ] statement and use that in a local variable in your code instead of MBOOTPATH. That way it should work regardless if the user includes slashes or not. Just a thought. And isn't there some way to do all of your COPY SOURCESS\%MBOOTPATH%\I386\system32 SOURCESS\%MBOOTPATH% ... COPY SOURCESS\%MBOOTPATH%\I386\wmilib.sy_ SOURCESS\%MBOOTPATH% without having to list each individual file hard coded in your code? If it can't be done via a DIR with maybe some IF statements in a FOR loop, then at least it could be done by listing all the files you want copied in a .txt file and read it and do the copy in a FOR loop. I'm just trying to think of ways to simplify/generalize the code and make it easier to modify and maintain. And for that matter, I guess I'm not clear why all those files need to be in both SOURCESS\%MBOOTPATH%\I386\ and SOURCESS\%MBOOTPATH%\. And, just for my own understanding, would you please explain, in plain words, what the two steps of patching SETUPLDR.BIN and BOOT.BIN are doing? TIA NOTE: If it's not obvious, it's been awhile since I've used HFSLIP. Sorry for the noob questions. Cheers and Regards
  9. Hey Rick, I think the code was always skipping because you wrote the test as: IF NOT "_OSV." == "5.1." GOTO:NOTXPinstead of: IF NOT "%_OSV%."=="5.1." GOTO:NOTXPEDIT: See posts below about missing "%" marks and batch is sometimes VERY particular about extra spaces, especially in string tests, which this one was. To test this, and since it seems you do not need to keep the value of "_OSV" for any other reason, would you mind substituting these two lines, in separate tests, for the one Yzöwl suggested to see if either of them would also would work? (Which one, or that of Yzöwl, you end up using is completely up to you of course. I think they should all give the same result based on your tests above.) FOR /f "TOKENS=2 DELIMS=[]" %%G IN ('VER') DO FOR /f "TOKENS=2,3 DELIMS=. " %%H IN ("%%~G") DO IF NOT "%%H.%%I"=="5.1" GOTO:NOTXP...or...FOR /f "TOKENS=2 DELIMS=[]" %%G IN ('VER') DO FOR /f "TOKENS=2,3 DELIMS=. " %%H IN ("%%~G") DO IF %%H.%%I NEQ 5.1 GOTO:NOTXPEDIT: Yzöwl code included for easy reference: FOR /F "TOKENS=2 DELIMS=[]" %%A IN ('VER') DO FOR /F "TOKENS=3 DELIMS=." %%B IN ("%%A") DO IF %%B NEQ 2600 GOTO :NOTXPCheers and Regards
  10. Why don't you download the Work_Folder the OP provided a link to and look in the ESD2WIM.cmd an see how he does it? Basically, as I understand it, an ESD file is a specialized compressed file that the newest versions of DISM can extract/convert from and to. ESD = Electronic Software Download - https://support.microsoft.com/gp/esdentryoffice. Cheers and Regards
  11. Because, it seems, real life is way stranger than fiction, in that, in fiction, there's just one Pierre Menard, while in RL there are several of them. For those, like me, who are/were unfamiliar with the reference: And like many threads, this one has taken on a life of its own, even though the OP has apparently never returned, or at least he has not commented on whether this has met his needs or not, and if so, or not, why, or why not. Oh well. Cheers and Regards
  12. Welcome to MSFN! Cheers and Regards
  13. @alyosa2001, I don't mean any offense to you or mean to be sarcastic, and I'm sure that bigmuscle din't mean for you to take it that way either. When you asked that, big muscle's response was exactly what my first response was as well. That was my thought as well. If you didn't want transparency in the windows borders, what did you want to use Aero Glass for? What other feature did Aero Glass provide that you found attractive without the transparency? Or did you mean you just didn't want it to be totally clear, but you wanted it to be opaque? If that is the case: Was that what you meant? If not, could you please clarify exactly what you were looking for? I'm very curious. Cheers and Regards
  14. So the patch could be applied by? (I have not used gsar): gsar -o -s:x0B:x01:x04:x89:x1D -r:x0B:x01:x10:x89:x1D update.exepechecksum -c update.exeSo START/WAIT is not needed? That does seem simpler. Cheers and Regards
  15. Welcome to MSFN! Cheers and Regards
  16. The most important thing is if it works for you. Cheers and Regards
  17. All the confusion just seems like one more reason not to install anything from Norton/Symantec these days. Which is a real shame because I was a BIG Norton supporter many years ago. Cheers and Regards
  18. 4. There is nothing to recreate. It's an official Win7 w/SP1u (refresh from SP1, includes a single KB-Fix) for a single language that the RTM originally used with vLite included "(Removed LANGuages)" (ref the vLite list given). I will venture to say that the additional Options given are more than likely ( ) within an XML and could easily be inserted into the Newest ISO. I understand what you're saying. What I meant by recreate was he didn't want to recreate a new vLited install source using the "official Win7 w/SP1u", ie he didn't want to start over. Cheers and Regards
  19. Not that I have seen or heard of. Cheers and Regards
  20. In fact if you would post a complete tutorial how update should be modified, probably over at RyanVM, that would be great. Cheers and Regards
  21. I think you meant threads, not posts, and I totally agree. Cheers and Regards
  22. As someone who, (in full disclosure, doesn't use XP at this time), has said that I believe that XP can continue to be used safely, I don't have any problem admitting that a standard, default Win8 installation is probably safer for the average user or their mom or grandfather than a standard, default XP installation, in both cases without any third party software installed, thanks to the improved security of Win8 compared to XP, and I really don't think that anyone can legitimately argue with that, nor do I believe that anyone has tried to dispute that in this thread, or other threads on this board. I also don't believe that anyone can argue with the published figures that there have been as many if not more vulnerabilities in other pieces of software besides the OS, Flash and Java being just two examples, than there have been vulnerabilities in the OS itself. And I'm glad to hear that you agree that PEBCAK errors exist and that they are a prime source of computer vulnerabilities, even if you are under the, IMHO mistaken, belief that they can, and should, be solved by yet more software which, IMHO creates an even larger surface for attack and more potential problems and source of poorer performance and OS bloat. But I'm willing to let that be an area that we agree to disagree. And I'm glad to hear that you do not think that an OS should totally deprive a user access to a system or totally disallow risky behavior, even if it would be safer if it did. If it did, that would be analogous to making cars safer by coating them with three feet of foam rubber and limiting them to a top speed of 5 MPH. Just think of how many lives would be saved! But I don't think that anyone here has suggested that a stock XP should be promoted for use by the untrained user or mom or grandfather. To continue the car analogy that would be like giving the keys of a Ferrari to an untrained and unlicensed 14 yr old and telling them to "Have fun!" But I, and dencorso and others, believe that XP and other older OS can be used safely by users that: 1. have been trained to at least minimize the PEBCAK errors 2. keep all their other apps updated 3. include, and keep updated, appropriate third party anti-virus, anti-malware and software firewall apps 4. use an external hardware router with included "hardware" firewall 5. make regular backups of both the OS and user data, just in case 6. don't use IE unless you absolutely have to (my personal opinion) 7. think about what they are doing and use common sense Even if you do all the above, regardless of what OS you use, is this still true?: Probably, but not enough to effect the user AFAIK. IMHO a user who does all the above is not likely to ever notice the improved security of Win8 compared to XP. <rant> And while there were definitely safety improvements in Win8, surely you can't believe that other "improvements" in Win8, such as the UI and the reliance on the store, were added strictly for the user's benefit, do you? You don't think that there might not have been the tiniest bit of MS self interest involved, or the desire by MS to make a buck or two, or ... (add whatever other accusation that has been leveled at MS) ... ? And yes, I agree and understand that every business that has ever existed has to have had at least some self interest or it didn't survive. But MS and their "fanboys" don't seem to want to admit that there was any altruistic thoughts involved at all. "It was all for the benefit of the user." Yeah, right, sure. :sheesh: <OT> And I won't even try to talk about the impact that the NSA and all other similar organizations worldwide have had, because I'm sure their influence has effected everything they could, from cell phones, communications, transportation, TV, travel, security and surveillance systems, etc, not just computer OS. All in the name of protection and increased security, and unfortunately seemingly necessary in this day and age, but at what cost? </OT> </rant> Anyway, no one has said that XP is as "safe" as Win8. We have just said that an XP user can be safe. Using an older OS can be hard work, the older the OS, the more work involved. But it can be done. Cheers and Regards
  23. I also respect the OP's wishes, but if I understand the situation correctly: 1. He created a Win7 install source using vLite (He did not try to include SP1 for some reason) 2, He installed the vLited OS and everything worked great for a while until he realized that he needed SP1 after all. 3. He downloaded SP1 but he has not been able to install SP1 onto his running OS. 4. He does not want to recreate an install source using a source ISO that includes SP1 for some reason. 5. He does not want to reinstall Win7 including SP1, he would only want to upgrade his existing install if it did not create all of the extra, duplicated folders that the normal Win7 upgrade procedure now needlessly creates. I sympathize with his frustration, but just because he only wants to do things a certain way doesn't mean there is an easy way to do it in the manner he would like. It appears that when he created his install source that vLite did something that is preventing SP1 from being installed. Of course, I don't think that vLite was ever intended to be used on Win7 anyway, and I believe that getting it to work on an SP1 source or getting it to integrate SP1 correctly takes quite a bit of effort, but that is neither here nor there. He could try using Win Toolkit instead, or nuhi's upcoming tool should be able to make the slimming changes he wants to make, if he is willing to wait for it. Anyway, as much as he does want to hear it, as best as I know it looks as if he is going to need to start over if he wants to end up with an installed Win7 SP1 OS. Cheers and Regards
  24. I hate to ask, since I know it'd (probably) be more work than it's worth, but could you backport this to 7 (or at least just the ShellStyle.dll UIFILE loading)? ONE on 8/8.1 is amazing, but I'm stuck using 7 since 8/8.1 performs poorly with games on my early-2011 laptop. I'm confused. If the purpose of ONE is to make Win8.x explorer like the Win7 explorer, and you are "stuck using 7", ie you are already using Win7 explorer, then why would you need ONE backported to Win7? Cheers and Regards
  25. vinifera, something to keep in mind is that in order to be considered completely legal, at least in the US, where you get it from is just as important as what you get. In other words, downloading a Win7 ISO from the above links is legal, but turning around and redistributing that exact same ISO is not. To be legal, an approved ISO has to be obtained directly from an approved source. An official CD/DVD with its key can be transferred from one person to another, such as on eBay, but not a burned copy of that CD/DVD. Also if you give, or sell, such an official CD/DVD to someone else, the right to install and continue to use an OS installed from that CD/DVD transfers with the CD/DVD. ie, you can't legally install an OS, sell or give the CD/DVD to someone else and continue to use the OS yourself. Cheers and Regards
×
×
  • Create New...