Jump to content

sixpack

Member
  • Posts

    576
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    0.00 USD 
  • Country

    Netherlands

Everything posted by sixpack

  1. i'm getting old, never seen this forum before
  2. is this what you are looking for: http://www.msfn.org/board/index.php?showto...=0entry227413
  3. welcome Mark
  4. welcome
  5. works nice i'l be useing yours then thanks
  6. OemPreinstall=No must be OemPreinstall=Yes and you have it 2 times
  7. nope i have 5 hd's 2 burners and a dvdrom it's only for cooling the box system temp. droped 14 degrees
  8. i have 9 fans and mine sounds like a F1 machine
  9. DONE THANKS TO THIS FORUM AND: jdoe btw this was build with the stuff i found on the internet and here
  10. You again With all those questions about batch file you had lately, you're going to raise your knowledge. Don't forget search button and Google are your friend and reading others batches can help a lot either. 5 seconds countdown @echo off echo this window closes in 5 seconds echo. echo 5 ping -n 2 127.0.0.1>nul echo 4 ping -n 2 127.0.0.1>nul echo 3 ping -n 2 127.0.0.1>nul echo 2 ping -n 2 127.0.0.1>nul echo 1 ping -n 2 127.0.0.1>nul pause COOL jdoe i had only: ping -n 5 127.0.0.1>nul so i did know but not all only i did not know that i can use it this way btw believe me i use googel and when i do not find it i ask here
  11. hi is it posible to have a visible Count down in a batch file what i mean is this: this window closes in 5 seconds, and it Counts down visible
  12. Yes, it has. XCOPY.exe is present too.The main things missing (from unattended point of view) is taskkill.exe and gpedit.msc and PageFileConfig.VBS. thanks for for your answer prathapml
  13. Does xp home have REG.EXE to, can someone check for me and if you do check also if you have xcopy.exe in your system32 folder, just whant to know
  14. Yes For a file Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "Cleanup1"="cmd /C DEL /S /Q \"%programfiles%\\install\\file.exe\"" For a folder Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "Cleanup1"="cmd /C RD /S /Q \"%programfiles%\\install\"" THANK YOU jdoe
  15. thanks jdoe btw becomes "DelFile1" "DelFile2" if you have 2 exe's to delete? and for the reg file does anyone know?
  16. hi how can i delete a exe via runonce i know this one but that is for a folder [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "Cleanup1"="cmd /C RD %systemdrive%\\install /S /Q" and what if the path is program files\blabla\blabla\hello.exe question 2: how to do it via a batch file to regedit RunOnce to delete a exe file same as above thanks
  17. THANKS @jdoe the batch scan's all hd's and go's to end when found [cool] but it does not display the "file not found" when not found, the batch goes to end If the "test5NEW.exe" is not in the same file as the batch it renames the orginal the "test5.exe" to test5.exe.BACKUP[in case if the batch is run] this must not happen question: is it posible to display "file not found in D:\" it display's now 5 times file not found [i have 5 hd's] question 2: is it posible to put this piece of code in your patch file to, it displays were the file is found [read errorlog] echo þ found: "%%t", i did try it with your batch file but it does not seam to work. question 3: I want to display in the cmd window when the file is found a few messages like file found,go get a live or somthing like that when i put in a echo in your batch file it does'nt display it I have also put in my batch file some kind of error log where the file whas found and have a nice day message Sorry for the many questions but i'm now reading, writing, testing for 3 day's and i cant see any more what i'm doing wrong. My batch file with out your code jdoe it works only it does not scan all hd's and does not display "file not found"["file not found" this is what i mean with errorlevel"] And does not end when the file is found wy i'm asking all this well when the batch file is perfect other people work with it to. thanks again for your help and if you can help me with finishing this batch file i'll hop on a airplane to Cannada and marrie you my batch: @echo off color 1e ECHO. SET MYLOG="%systemdrive%\Documents and Settings\All Users\Bureaublad\Scan.Log" ECHO Datum: %DATE% - Tijd: %TIME% >>%MYLOG% if not exist test5NEW.exe goto notfound echo one moment, scanning PC.... echo. for /f "delims=" %%t in ('dir /a /s /b C:\test5.exe') do ( echo þ Found: "%%t", and made a Backup copy "%%t" "%%t.BACKUP" > nul attrib -s -h -r "%%t" copy test5new.exe "%%t" > nul ) echo. echo. echo. echo Het Orginele Bestand is Vervangen. echo Het Bestand is Overschreven. >>%MYLOG% echo En er is een Backup Gemaakt van het Orginele Bestand in de Zelfde Map. >>%MYLOG% echo. echo have a nice day. echo have a nice day. >>%MYLOG% echo. echo Klaar.... echo. echo. echo. goto PAUSE echo. :notfound COLOR FC echo ERROR: Het Bestand "test5new.exe", is niet gevonden...! echo ERROR: Het Bestand "test5new.exe", is niet gevonden...! >>%MYLOG% :PAUSE PAUSE
  18. where to download this "modpe"
  19. ok next question: the batch file works and now i want to ad a error level for file not found and scan more drive's, and if found stop scanning the other drive's and go to end this is what i have so far: @echo off color 1e echo. echo Een moment, Bezig met het Scannen van Alle Harde Schijven.... echo. for /f "delims=" %%t in ('dir /a /s /b C:\test5.exe') do ( echo þ Gevonden: "%%t", Backup Gemaakt, en Overschreven copy "%%c" "%%t.BACKUP" > nul attrib -s -h -r "%%t" copy test5new.exe "%%t" > nul ) echo. echo Het Orginele Bestand is Vervangen en van het - echo Oude Bestand is een Backup Gemaakt in de zelfde Map. echo. echo. PAUSE thanks for the info BritishBulldog maybe someday i learn to write vbs files but i find it to difficult or i'm to stuppit to lear it
  20. i did mis a space in: copy test5new.exe"%%c" > nul copy test5new.exe "%%c" > nul btw works now and backup the old test5.exe to test5.exe.OLD in the same file
  21. ok found something: @echo off color 1e echo. echo A moment, scanning drive C... echo. for /f "delims=" %%c in ('dir /a /s /b C:\test5.exe') do ( echo þ Found: "%%c", backuped, overwritten copy "%%c" "%%c.OLD" > nul attrib -s -h -r "%%c" copy test5new.exe"%%c" > nul ) pause it does replace the exe file but give's a sintraxis error on file name , hard drive name any ideas?
×
×
  • Create New...