Content Type
Profiles
Forums
Events
Everything posted by jaclaz
-
Check the apps here: http://www.nirsoft.net/ They can run from within the .zip file, pspv should also be able to find the password in protected storage: http://www.nirsoft.net/utils/dialupass2.html http://www.nirsoft.net/utils/pspv.html I don't think Asterisk logger works on newish dialogs, but it is still worth a try: http://www.nirsoft.net/utils/astlog.html jaclaz
-
Yep, since WinPE is BORN as a Pre-installation Environment, using it to install a NT based system works allright, the point is to minimize the "catch", see this: http://www.boot-land.net/forums/index.php?showtopic=644 but it seems like noone wants to take the challenge. jaclaz
-
What you missed is that in the referred thread: http://www.msfn.org/board/boot_install_USB...html&st=404 someone ALREADY figured it out, the method is tested, working, scripted, and is currently in final refinements (SATA drives, etc.) and betterings/adding features. jaclaz
-
That's strange, I have small HD images of recovery console working allright, directly or from grub4dos, both "directly" and using the 2003 RAMDISK.SYS to boot them. I have experimented with /minint, /CMDCONS and $win_nt$.~bt (but this works with image mounted as HD0) Some info is on this thread: http://www.boot-land.net/forums/index.php?...=2692&st=10 Most probably it won't work on "FD" type of image, but maybe one can use once again the grub4dos mapping features to exchange drives? Can you post a DIR /S>Setupdir.txt of your 15 Mb image? I'll see if I can re-create it in a way that it works. jaclaz
-
Where is the problem? The original post has a detailed howto: http://www.msfn.org/board/Tool_Hide_consol...ndo_t49184.html There are also other tools, see here: http://www.msfn.org/board/alternative_cmdow_HID_t49103.html jaclaz
-
Advanced Batch scripting Question ;)
jaclaz replied to Valvaris's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Also, if I may, you might want to search and learn a bit about batch files, just as an example, if you make a file "todelete.txt" with this contents: and you put: FOR /F %%A IN (todelete.txt) DO DEL %%A in your batch, it is easier to read and to modify (adding or removing files to the todelete.txt list) This is a VERY good site to get ideas from: http://www.robvanderwoude.com/ jaclaz -
Well, you don't seem too motivated. Making a USB stick bootable is actually not difficult, just use the method in FAQ #4 here: http://home.graffiti.net/jaclaz:graffiti.n...SB/USBfaqs.html Installing XP from a USB stick is a bit more tricky, but if you care to read the "main" thread about it, you will see how wimb posted a batch capable of doing it: http://www.msfn.org/board/boot_install_USB...html&st=404 (but do read the thread to better understand the procedure) If you do not remove WINNT.EXE support with nlite, you can still use the good ol' DOS method: http://www.911cd.net/forums//index.php?sho...c=16713&hl= jaclaz
-
batch programming
jaclaz replied to ronmanp's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
also, you seem to manage the %~n1 variable, in the process, what happens to the EXTENSION of the file? %~x1 or %~nx1 management appears to be missing. To expand on Yzöwl's note on the use of ERRORLEVEL, the syntax you are using is "DOSsish" under 2K/XP/2003, you can also use the %ERRORLEVEL% variable, as such, this: can be written also as: but you can also use the other operators, like equ, lss, gtr, etc.: http://www.robvanderwoude.com/errorlevel.html which could make you get rid of one of the IF checks jaclaz -
Advanced Batch scripting Question ;)
jaclaz replied to Valvaris's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Each app has it's own ways, you will never find a "general guide". As an example: Looky here: http://koti.mbnet.fi/digitale/throwoutoe/ jaclaz -
HDD vertically / horizontally installed
jaclaz replied to hmaster10's topic in Hard Drive and Removable Media
Have you got a cooler inside a case, spinning at 5,400/7,200 or 10,000 RPM? If I may, the (old) point about mounting hard disks horizontally vs. vertically was related to the actual BEARINGS that were used in the HD manufacture. A traditional bearing can be a radial bearing or a thrust bearing, or both: http://en.wikipedia.org/wiki/Bearing_(mechanical) http://en.wikipedia.org/wiki/Thrust_bearing Most if not all hard disks manufactured in latest years have FDB bearings, that are at the same time radial and thust ones, besides being less noisy: http://www.hitachigst.com/tech/techlib.nsf...Paper_FINAL.pdf http://www.wdc.com/en/library/eide/2579-001052.pdf jaclaz -
batch programming
jaclaz replied to ronmanp's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
A small "side" suggestion. When using the GOTO or CALL statement, it is advisable to follow them with complete name of the label (including the ":" ) this way it is easier to find them at a glance. As Yzöwl pointed out, this is wrong if not exist c:\corb.dir\nul mkdir c:\corb.dir\ goto deplacer you cannot put two statements after an IF without grouping the commands with parenthesis or using the "&" sign: if not exist c:\corb.dir\nul mkdir c:\corb.dir\&goto :deplacer should work as well jaclaz -
Correct , the "wear leveling" thingy does NOT affect the position of files on the stick (as seen by the OS), but other things may cause it, most probably previously deleted/overwritten files, incorrect order when copying files to it, and what not. In the famous "Dietmar's Thread" on 911CD, experiments proved that the best way to make sure that USB booting procedure is to start from a "wiped" drive, though noone was able to pinpoint the actual cause of the occasional failures. However, there is no need to write 00's or (better) F6's to the whole device, but doing so for the first, say, 100 sectors, i.e 51200 bytes, should ensure that there are no "leftovers" that can cause problems to filesystem. jaclaz
-
Also, though rather difficult to get the hang of, FINDPART can be useful: http://www.partitionsupport.com/utilities.htm FINDPART CHSDIR <drive letter> will give you the position of files. jaclaz
-
and/or regshot: http://regshot.blog.googlepages.com/ jaclaz
-
There is/was a tool by Mark Russinovich (sysinternals) called fundelete that was designed for NT but that is said to work allright under 2K and XP too. "Invisible" text on: http://www.snapfiles.com/get/Fundelete.html AFAIK the file was removed from public availability when Sysinternals was acquired by MS, but you may be able to find it, last version should be 2.02, here: http://web.archive.org/web/20050526232211/...fundelete.shtml A tool to have a look at for Synchronizing is this one: http://samedir.sbn.bz/ jaclaz
-
...or maybe simply change the drive signature with mbrfix: http://www.sysint.no/Nedlasting/MbrFix.htm http://www.sysint.no/Nedlasting/MbrFix.zip http://home.graffiti.net/jaclaz:graffiti.net/index.html or with a disk editor. Reference: http://thestarman.pcministry.com/asm/mbr/Win2kmbr.htm http://thestarman.pcministry.com/asm/mbr/Win2kmbr.htm#DC http://thestarman.pcministry.com/asm/mbr/W...br.htm#DiskSigs jaclaz
-
What do you have on your Primary channel? Unlike what many people may think, having two optical devices on the same channel is not the best thing to do. And Cable Select, in my experience, has proved to be more prone to errors than good ol' jumper settings. Also, read here: http://www.pcguide.com/ref/hdd/if/ide/confCable80-c.html http://www.pcguide.com/ref/hdd/if/ide/conf_CS.htm your cable may simply be non-CS compatible. If you have a hard disk as Primary Master, I would try putting the DVD as Primary slave, then your CD writer should go on Secondary Master (or if you have a second hard disk, put the CD writer as Secondary slave). Use jumpers with the proper settings on both hard disks and optical drives. jaclaz
-
If the partition data has not been overwritten (just the partition table), your best bet is TESTDISK: http://www.cgsecurity.org/wiki/TestDisk If, on the other hand, partition data has been overwritten behond recovery, you can still recover single files by using the accompanying PHOTOREC app. There are a number of other COMMERCIAL utilities, just search on the board for keyword "testdisk" to find similar threads and experiences. jaclaz
-
It is usually a good idea to SEARCH on the board for previous similar requests and (hopefully) answers to them: http://www.msfn.org/board/Question_possibl...ive_t75413.html jaclaz
-
batch programming
jaclaz replied to ronmanp's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
The "usual" way to check for the existence of a directory (no matter if it has a dot in the name) is to check for the nul device inside it. Under NTFS or Novell it is more correct to check for nul.ext, i.e.: if exist corb.dir\nul ECHO YES or (better) if exist corb.dir\nul.ext ECHO YES Reference here: http://www.msfn.org/board/Batch_Scripts_Im..._Ap_t98853.html jaclaz -
Check for OS Version in a script
jaclaz replied to midiboy's topic in Unattended Windows 2000/XP/2003
Just as a confirmation: works in Italian. jaclaz -
Check for OS Version in a script
jaclaz replied to midiboy's topic in Unattended Windows 2000/XP/2003
Maybe the problem relies in a nationalized version of the OS midiboy is running. Your small batch does not work on my system (italian) because of the "findstr/b Soft", changing it to "findstr/i Soft" works, as instead of "Software version" the output of the command contains "Versione del software", and thus the CALL to :OSis is never made. jaclaz -
Just to close this topic, a hotfix has been released: http://support.microsoft.com/kb/943075/en-us Though not very much publicized. The basic statement hinting that it is a minor bug as it involves the "showing" of result, as the calculatin is performed correctly, which has been already proven to be false is still there: and is contradicted by the subsequent statement : Why, IF the calculation is done correctly, one should "recalculate the spreadsheets that are in manual calculation mode" , really escapes me and is the final (unneeded) confirmation that the bug affected calculation and not display of wrong values only. As a reader plainly put it here: http://blogs.msdn.com/excel/archive/2007/0...sue-update.aspx It seems to me a very serious bug, and I find the "official silence" or "understatements" by MS, definitely inappropriate. Another thing that really makes me wonder is the sheer size of the hotfix, about 34 Mbytes and the number of files involved! jaclaz
-
You can easily use this (just copy and paste into a new file newer.cmd): @echo off SETLOCAL ENABLEEXTENSIONS SETLOCAL ENABLEDELAYEDEXPANSION Set /A Counter=0 FOR /F "skip=2 tokens=4" %%A in ('dir %1 /o-D') DO ( IF !Counter!==0 ECHO %%A SET Counter=!Counter!+1 ) use as newer.cmd "drive\Path\directory" this will simply display the filename of the most recent file in the given directory. Just change the %1 in the FOR loop with your hardcoded path (if you wish to do so) and change the ECHO command into your xcopy one. The following is slightly more elaborate but returns more data on the file: @echo off SETLOCAL ENABLEEXTENSIONS SETLOCAL ENABLEDELAYEDEXPANSION Set /A Counter=0 FOR /F "skip=2 tokens=4" %%A in ('dir %1 /o-D') DO ( IF !Counter!==0 ( ECHO Name : %%~nA ECHO Extension: %%~xA ECHO Full Path: %%~fA ) SET Counter=!Counter!+1 ) In a command prompt type FOR /? to see other possible expansions of variables. jaclaz
-
@xrayer Did you try the "Universal drivers"? (link in post #2) jaclaz