Content Type
Profiles
Forums
Events
Everything posted by allen2
-
How to merge two text files?
allen2 replied to tomasz86's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Yes something like this should work (i added the sort part with the unix tool "sort.exe") : set filenames= for /f "delims= usebackq" %%i in (`dir /b %target%\*.inf`) do (set %filenames%=%filenames% %%i) echo [SourceFileInfo] >result.txt grep -vih "\[SourceFileInfo\]" %filenames% |sort -d >>result.txt Due to batch variables limitations %filenames% can't have more than 2047 characters so it might not work with long filenames. -
How to merge two text files?
allen2 replied to tomasz86's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
grep -vih "\[SourceFileInfo\]" 1.txt 2.txt >>3.txt But then if you need sorting and finding duplicates to choose the most recent version of each file, you might want to use vbs or autoit as it would be a lot more easier to script. -
I bought a GT 240 using this almost one year ago to also replace a 8600GT.
-
Most gpo settings are reg entries, so you might which one is preventing the A/V to install and then set it before deploying.
-
Never saw an ethernet card needing a specific protocol to work. What's the brand and model ? With XP, you should only rely on tcp/ip protocol even when using nwlink (some remain of Novell Netware).
-
Then the proper way would be modify the local gpo to allow what you need. Most likely the used to deploy doesn't have enough rights or doesn't run with the right account.
-
How to merge two text files?
allen2 replied to tomasz86's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Yes grep can work on multiple files and no it can't sort or remove duplicates unless you do the scripting for it . -
How to merge two text files?
allen2 replied to tomasz86's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Or using unix tools: grep -vi "\[SourceFileInfo\]" 1.txt >>2.txt "\" are need to escape the "[" used with grep for regular expression. -
Copy only files that have newer version?
allen2 replied to tomasz86's topic in Unattended Windows 2000/XP/2003
No most tools out there doesn't check the version. You'll need to script it using filever.exe (from xp sp2 support tools) or do a vbs a explained there. -
The proper way would be to modify the gpo security to avoid its deployment on those computers. You can deny read rights in the delegate tabs for a computers group if the A/V is done using the computer part of the gpo. The "other way" that i wouldn't try, would be remove those computers from domain (then reboot them), install your A/V, then read them to the domain.
-
You need to check on your hard drive manufacturer web site for the diagnostic tools: . Seatools for Seagate/Maxtor drives. - Datalifeguard for Western Digital drives. - OGT or drive fitness for Hitachi drives. - Estool for Samsung drives. Most links are there for allmost all brands.
-
How to open folders with tons of files in XP as fast as other commande
allen2 replied to Kmuland's topic in Windows XP
I am a servers admin. I only encountered this kind of problem three times. The only solution, we came with was setting up scripts to clean/archive regularly to avoid the problem. -
How to open folders with tons of files in XP as fast as other commande
allen2 replied to Kmuland's topic in Windows XP
Why Microsoft designed a filesystem able to withstand 4 294 967 295 files when its dll are not able to handle the 1/4 ? The more one million files in one folder was on a small partition about 70Go. Those where logs files (about 1 000 new create each working day) stored there for more than 3 years. Nobody ever thought that they should need to be removed after 1 month. -
How to open folders with tons of files in XP as fast as other commande
allen2 replied to Kmuland's topic in Windows XP
I have seen this behavior on every windows OS (including servers) when browsing more 30 000 files in only one folder with explorer. Never found a proper workaround but i did some tests and saw that even listing the files from a command prompt would take more time but would begin after a few seconds/minutes depending on how many files there are (i suppose, it is enumerating them). Some apps even stopped working with more than 100 000 files in one folder so that problem isn't only explorer related. With more than 1 000 000 files, ntbackup wasn't even able to backup the drive and it took hours to remove some of the files from a command line prompt. So the problem must lie in some system .DLL and its way to enumerate files. -
The question 3 could be answered easily and within the forum rules: you need to buy from Microsoft XP volume licenses. For question 1, no you don't need pagefile if you have enough memory but some applications might need it but you might also find a way around this using a ramdrive. By the way how much memory does the complaining machine have? For question 2, yes but you should have removed usb support with nlite (i don't even know if nlite can do it). Also using a CF card as system isn't a good idea because you'll need a fast one (if you want correct perfs) that 'll cost almost the same price than a small ssd.
-
Read there how to create a winnt.sif with your own network settings and see example here.
-
First the bios, you most likely downloaded this file and then created a dos boot floppy and added the files extracted from the downloaded zip. If you didn't, you should try this way. If you need a clean boot floppy image, you can download one there.
-
Need an original (unmodified) Windows 95 CD-ROM Setup Boot Disk image
allen2 replied to 5247846's topic in Windows 9x/ME
Here is the content of the drvcopy.inf file. -
If you're in an AD context you should deny the "read" right on the gpo disabling yahoo to the computer(s) that should run yahoo. A "counter" gpo, as you did, might not be needed as there are no software restriction by default, but if you need one then you'll need to enable at least gpo loopback processing and set it to replace.
-
Neither recognizes the GPT format. GPT Partition scanning code would have to be added. It would be easier to replicate the GPT Partitions into an MBR replacing the dummy bridge MBR normally used in GPT Drives. and GPT based partitions require 64bit operating systems! they won't work on 32bit OSes speaking about the 2TB hard drive limit, FAT32 and NTFS can support up to 2TB volumes and no greater than that Everything is false: - GPT partitions are supported by 32bits MS OS since Windows 2003 SP1 as said in the notes. - NTFS max size is by design 16exabytes (about 16 millions of Gigabytes) and as implemented since windows 2003 SP1 256TB. - FAT32 partitions might go up to 8TB
-
The answer was in this sticky post.
-
Need an original (unmodified) Windows 95 CD-ROM Setup Boot Disk image
allen2 replied to 5247846's topic in Windows 9x/ME
Also if you want to be really "secure" like you seem to be, you should check the MD5 or CRC32 and not the date and time because date and time can easily counterfeited with the unixtool touch.exe (for example). -
Deleting Windows.old in mounted .WIM
allen2 replied to Fneeee's topic in Unattended Windows 7/Server 2008R2
If you mounted it read/write, try disabling your antivirus software. -
5fps isn't really fast with firefox 3.6.x.
-
You could try installrite but i don't know if it runs on windows 7.