Content Type
Profiles
Forums
Events
Everything posted by bphlpt
-
OK, I'll answer you with the same degree of detail and helpfulness as you have answered us. Yes. Sorry, you said - "Just one quesiton" Yes. Cheers and Regards
-
Thanks Geej! Great tune that I had somehow missed. Cheers and Regards
-
Yes, it definitely sounds like you need to completely uninstall ALL PDF reader/editor programs, do a thorough registry clean, then reinstall, very carefully, only the applications that you intend to use and only if they can be installed without interfering with each other. Any that can be installed in a portable format probably should be to help minimize the possible interference, and pay very special attention to the file associations. I would probably do whatever installs you end up choosing and do not associate any file types with any of the apps during the install. After you have all the applications installed and running, as few applications as possible, then you can associate each file type to whichever application you wish to use for it. Just my two cents. Cheers and Regards
-
Sorry. Please answer our questions first. Cheers and Regards
-
Registry Peculiarities and Solutions
bphlpt replied to CharlotteTheHarlot's topic in Windows Tips 'n' Tweaks
I'm afraid I know just enough about RegEx expressions to be very dangerous and get myself in a whole heap of trouble. Would someone mind please breaking this expression down and interpreting it for me, and/or pointing me to a well organized RegEx tutorial where I can find the answer for myself? Thanks in advance. Cheers and Regards -
Personally, if I had questions about XP x64, I ask over here. Cheers and Regards
-
How to merge two text files?
bphlpt replied to tomasz86's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Actually, if all tomasz86 is interested in is the first token in the string, then his code does seem to work, as shown by running this (NOTE two spaces before "%%A"): @ECHO OFF & SETLOCAL ENABLEEXTENSIONS ECHO/TOMASZ86 METHOD FOR FIRST TOKEN ONLY FOR /F delims^=^"^ %%A IN ("THIS IS"ENCLOSED"IN DOUBLE QUOTES") DO ECHO/[%%A] FOR /F delims^=^"^ %%A IN ("THIS"TEST" IS"ENCLOSED"IN DOUBLE QUOTES") DO ECHO/[%%A] ECHO/&ECHO/DELIMITED DOUBLE QUOTES ONLY FOR /F TOKENS^=1-3^ DELIMS^=^" %%A IN ("THIS IS"ENCLOSED"IN DOUBLE QUOTES") DO ECHO/[%%A] [%%B] [%%C] FOR /F USEBACKQ^ TOKENS^=1-3^ DELIMS^=^" %%A IN ('THIS IS"ENCLOSED"IN DOUBLE QUOTES') DO ECHO/[%%A] [%%B] [%%C] ECHO/&ECHO/DELIMITED DOUBLE QUOTES AND SPACES FOR /F TOKENS^=1-6^ DELIMS^=^"^ %%A IN ("THIS IS"ENCLOSED"IN DOUBLE QUOTES") DO ECHO/[%%A] [%%B] [%%C] [%%D] [%%E] [%%F] FOR /F USEBACKQ^ TOKENS^=1-6^ DELIMS^=^"^ %%A IN ('THIS IS"ENCLOSED"IN DOUBLE QUOTES') DO ECHO/[%%A] [%%B] [%%C] [%%D] [%%E] [%%F] PAUSE & GOTO :EOF The output for both lines of the code added to show his method is -- [THIS] If you want more flexibility over getting more than just the first token, then your code is much more complete and accurate, Yzöwl, as always. EDIT: If, however, he was trying to get the same result for VAR=VAL vs VAR = VAL vs VAR="VAL" vs VAR = "VAL", then this code would work: @ECHO OFF & SETLOCAL ENABLEEXTENSIONS ECHO GET SAME RESULT FOR VAR=VAL vs VAR = VAL vs VAR="VAL" vs VAR = "VAL" FOR /F TOKENS^=1-2^ DELIMS^=^=^"^ %%A IN ("abc=1") DO ECHO/[%%A] [%%B] FOR /F TOKENS^=1-2^ DELIMS^=^=^"^ %%A IN ("abc = 1") DO ECHO/[%%A] [%%B] FOR /F TOKENS^=1-2^ DELIMS^=^=^"^ %%A IN ("abc="1"") DO ECHO/[%%A] [%%B] FOR /F TOKENS^=1-2^ DELIMS^=^=^"^ %%A IN ("abc = "1"") DO ECHO/[%%A] [%%B] PAUSE & GOTO :EOF All four lines will echo [abc] [1] So it all depends on what he really wants to do. Cheers and Regards -
help to IF NOT EXIST batch command
bphlpt replied to ZEUS__'s topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
If spaces are involved anywhere in the path, then these should work with cmd.exe: @ECHO OFF IF EXIST "%WINDIR%\SYSTEM\NSCIRDA.SYS" (GOTO :NEXT) IF EXIST "%WINDIR%\SYSTEM\SMCIRDA.SYS" (GOTO :NEXT) DEL "%WINDIR%\SYSTEM\IRFTP.EXE" :NEXT CLS @ECHO OFF IF NOT EXIST "%WINDIR%\SYSTEM\NSCIRDA.SYS" (IF NOT EXIST "%WINDIR%\SYSTEM\SMCIRDA.SYS" DEL "%WINDIR%\SYSTEM\IRFTP.EXE") CLS If you really needed to use command.com, then the commands above should still work if you used the 8.3 version of the paths (without the quotes). As to command.com vs cmd.exe, a couple of the main differences in support of using cmd.exe in most cases are: command.com is 16-bit while cmd.exe is 32-bit command.com can not handle long file names, spaces in the names, or quotes around the names cmd.exe is available in 64-bit versions of XP+ Cheers and Regards -
help to IF NOT EXIST batch command
bphlpt replied to ZEUS__'s topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
So do either of these work? @ECHO OFF IF EXIST %WINDIR%\SYSTEM\NSCIRDA.SYS (GOTO :NEXT) IF EXIST %WINDIR%\SYSTEM\SMCIRDA.SYS (GOTO :NEXT) DEL %WINDIR%\SYSTEM\IRFTP.EXE :NEXT CLS @ECHO OFF IF NOT EXIST %WINDIR%\SYSTEM\NSCIRDA.SYS (IF NOT EXIST %WINDIR%\SYSTEM\SMCIRDA.SYS DEL %WINDIR%\SYSTEM\IRFTP.EXE) CLS Cheers and Regards -
help to IF NOT EXIST batch command
bphlpt replied to ZEUS__'s topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Hmmm I don't see how. Could you please post the code you are using? Cheers and Regards -
help to IF NOT EXIST batch command
bphlpt replied to ZEUS__'s topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
So like this? IF EXIST FILE.ONE (GOTO :NEXT) IF EXIST FILE.TWO (GOTO :NEXT) DEL FILE.THREE :NEXT or IF NOT EXIST FILE.ONE (IF NOT EXIST FILE.TWO (DEL FILE.THREE)) Cheers and Regards -
As has been explained above, since installing Win98 to an existing Win7 installation, on modern hardware, is NOT the usual way one does it, and is difficult, if not impossible, to do without extra patches that cost money, and even with the patches still require non-trivial steps that will be difficult for an admitted beginner without much experience, so will involve a whole lot more work than just "Follow steps 1-8, reboot and you're done!", and this doesn't even consider the problems of finding Win98 drivers for all the various hardware that is part of or connected to your system, would you please explain WHY you want to do this? What is the purpose? What do you want to use Win98 for? As has also been mentioned above, it might be much more appropriate, and much easier, to just install Win98 in a VM. Without more information from you, I don't think you will find many people willing to waste their, and your, time in what might be a lost cause. Cheers and Regards
-
But it's only really a problem if it prevents you from doing something you need to do (not want to do). So why does a limited user need to view the files in the System Volume Information? (And you can't count curiosity. ) Cheers and Regards
-
That seems like it should work. Personally, I've used EasyBCD in the past, free for personal use. But we're quickly getting out of my comfort zone on being able to appropriately advise you. Note that once you have switched over to using your new drive, and no longer need to use the old one for booting, you should be sure that the boot loader is also on your new drive and not still left on the old one. To do so, you might have to remove the old drive temporarily and "repair" your new one using your installation media, which should clean up the boot loader on the new drive, if I remember correctly how that works. You might also be able to use EasyBCD or a similar tool to save a copy of the boot loader to copy elsewhere, I'm not sure. And I've not had to do this for Win8, I'm still on Win7, so that could throw in another wrinkle that you'll have to figure out. Cheers and Regards
-
But hey, all three of his posts have been in this topic. It must be dear to his heart. Cheers and Regards
-
The difference is what you are allowed to do as specified in the MS EULA. Follow the links carefully and try again. Cheers and Regards
-
The difference is what you are allowed to do as specified in the MS EULA. Follow the links carefully and try again. Cheers and Regards
-
As far as I know, if you want to have the option of booting from either drive, you can either: clone the drive, then only have installed whichever drive you wanted to boot from or just do a new separate install on the new drive and set it up to dual boot with the old drive. While the second option is obviously more work, you will probably end up with a cleaner, better running, more stable system since everything will be installed fresh with no "leftovers". If you are just concerned about getting your new drive working, after you clone the drive, leave the old drive sitting on your shelf for a week or so until you are sure that everything is working correctly before you format it for data use. In either case, once you are sure that everything is working the way you want it to, clean the new drive's files up the best you can, uninstall anything you no longer need, delete all your temp files, move appropriate files to some other data drive or whatever, minimize the page and hibernation files or delete them if appropriate, minimize the size of the Recycle Bin, get rid of old System Restore snapshots, ie do as thorough a system clean up as you can possibly do. Then go ahead and do a single manual defrag of the new disc. Then make an image file of your new system disc, which you can store on your old drive that is now converted to a data drive. You can then restore that image file back to either the SSD or any other drive at any time you need to. The image file will take up much less room than trying to maintain a "duplicate" OS, which most likely you will, hopefully, never use. Cheers and Regards
-
I ran into this myself once. IIRC, but I could be wrong since it's been awhile, It wouldn't boot into Windows with both drives installed, and you couldn't change anything that was helpful while booted from the old drive. I think I was able to boot into a rescue CD/DVD, while just the old drive was installed, not the new one, and then edit the drive id of the old drive to be different from that of the new drive. Then I think I formatted the old drive and reset its MBR. At that point I was able to install the new drive, boot from it, and have the old drive installed as well for data storage. Sorry I can't remember more exactly. I tried to search for instructions that would help for this situation, but my Google mojo seem to be failing me today. Hopefully someone else can point us in the right direction if you are not able to solve the problem using these sketchy directions. Cheers and Regards
-
If you have truly cloned the HD to SSD, then as far as Windows is concerned they are identical and can't be told apart, so you must: REMOVE HD then your machine should boot from SSD correctly. Cheers and Regards
-
I'm confused. What does that have to do with SiB?? This thread is NOT about anything Windows 8 related unless it specifically deals with a SiB issue. If it is somehow related to SiB and it is not obvious, then you must explain the connection and explain why you felt the need to post it in this thread. If you do not, your post will most likely get deleted and you risk getting banned from the board if that type of action continues. Cheers and Regards
-
If there is one then I haven't found it either. Here is your answer: Cheers and Regards
-
And I've found it interesting that lately when "Caps" has asserted that something was either "wrong" or "doesn't work", it has often ended up that either his machine or his input was at fault. And then he "blamed" us for not catching "his" mistakes. I wonder why he's not getting much help. Hmmmm. Cheers and Regards
-
For tweaking Windows services in XP, Vista, or Win7 the easy way, using Black Viper's recommendations, you could always use the free automated solution SMART. Hey, I'm lazy. LOL You can still easily manually fine tune it if you need to. Cheers and Regards
-
Is there a reason that you want to work with the "WinXP SP1.0a" version instead of the "WinXP SP3" version? Just curious. Cheers and Regards