Jump to content

jaclaz

Member
  • Posts

    21,271
  • Joined

  • Last visited

  • Days Won

    53
  • Donations

    0.00 USD 
  • Country

    Italy

Everything posted by jaclaz

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. and/or regshot: http://regshot.blog.googlepages.com/ jaclaz
  10. 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
  11. ...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
  12. 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
  13. 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
  14. 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
  15. 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
  16. Just as a confirmation: works in Italian. jaclaz
  17. 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
  18. 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
  19. 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
  20. @xrayer Did you try the "Universal drivers"? (link in post #2) jaclaz
  21. It seems like that driver is from PQI: http://www.msfn.org/board/usb_drivers_98_t...6.html&st=7 GOOD work! jaclaz
  22. Chack this too: http://jointtech.com/today-a-client-asked/xls-csv-convert/ jaclaz
  23. There are a number of programs more or less called "xls2csv" or "xlstocsv", some are Commercial, some are Freeware. Last time I needed one I used this: http://software.techrepublic.com.com/downl...px?docid=230702 but they were a number of simple files, your mileage may vary. Or you can use a VBS: http://forums.xaprief.com/showthread.php?s...p;threadid=3159 jaclaz
  24. Maybe these help: http://uanr.com/sdfloppy/ http://pinouts.ru/Memory/sdcard_pinout.shtml I know it is not what you were asking for, but there are some details and links to the actual signals that are on a SD connector and a handy way to make a connector, moreover it mentions the "magic" word, "SPI", i.e. Serial Peripheral Interface. http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus Now a search on Google for "USB to SPI" adding as further search term either "interface" or "converter cable" should get you to a number of interesting results. This appears to be the right spot to begin with: http://www.ftdichip.com/ http://www.ftdichip.com/Projects/MPSSE.htm http://www.ftdichip.com/Projects/MPSSE/FTCSPI.htm http://www.ftdichip.com/Projects/MPSSE.htm#SPI It should be fairly easy to build one of the various converters, problem might be the actual driver for this device.... It seems like there are no pre-made solutions, unless maybe some manufacturer uses these buses for their products, but then again probably there won't be a "universal" driver. jaclaz
  25. @rcatank I used to have one of those laptops (I actually still have it) it's an Acer Travelmate of some model, that judging from the age must be similar to yours. I can confirm that the slots were not "CardBus", aka PCMCIA II, but rather PCMCIA I, the slot has a "notch" to prevent the insertion of a "Cardbus card", my wife managed to insert a new modem in it (of the wrong type) with such force I had to use some pliers to extract it . http://en.wikipedia.org/wiki/PC_card Old PCMCIA worked at +5 V, newer at +3.3 V so, besides not working, you also risk frying it if you force it in. When I bought it I also bought a little wonderful product by Archos that doubled as a "CD walkman" and as a (8x ? ) CD-Rom reader with PCMCIA interface. Something like these (that must be later models): http://www1.shopping.com/xPP-cd_rom_drives--archos I think they are not available anymore, maybe on e-bay? jaclaz
×
×
  • Create New...