Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country


Everything posted by kali

  1. processor will get roughly 50% usage- I'll analysis this. I'm a hardware troubleshooter. To save time I use 90% of my software silent install. Just I wanted to add something new in my silent script like this. It's awesome. Thanks again.
  2. Very nice script, Just awesome. It's (time_exe) working like that what I wanted. Thanks a lot jaclaz.
  3. Thanks jaclaz. Very useful link. In the mean time I wrote a script. Your clues and links helped me to write this script. I got digital clock instead of Stop watch here. Hope your advice.
  4. Sorry for late. I read the stackoverflow link you given above. It was about like progressbar. Last two days I explored many sites and learned many things. I'm very interested to learn batch scripting. I read and practice also. But some time I can't understand complicated script as newbie. For example in your script "prompt #$H&echo on&for %%b in (1) do rem" for 0x08 hex characters (you mentioned), to_hs as well as to_HHMMShs section. You set DeltahsVal variable but I couldn't find it's usage in the script. Shamed to asked foolishly.
  5. You are right. My batch can show incorrect results in many cases. If you fix my time subtraction batch into HH:MM:SS:hs Format It will be also very useful to me. An exactly you said. My want is time elapsed. Finally I tested your batch with wait.exe. It shows a continuous Elapsed process. I'm learner of batch. So I didn't understand the batch you posted. Thanks.
  6. I can use timer for calculate the time (Code below). But It's not that what I exactly want.
  7. Very complicated script. I tried it. I think it's not that I want. I've attached a screenshot. For example I'm installing office. During installing it'll show the timer massage. So I can monitor how much time (Minute or second) is going on for the installation.
  8. I badly need it to count time during software installation. I've made some silent softwares with batch command. I need to check how much time do these softwares take to be installed.
  9. Thanks jaclaz. I need just a batch command for a stop watch with h:m:s or h:m:s:ms (hour:Minutes:Seconds: millisecond) format like the picture attached.
  10. Is there any way to run c/c++ script with bat file? I need batch command to create Digital Stopwatch but got a c++ script. I don't know c++. So I need bat help. Source
  11. You are really wise as well as so helpful. Thanks again. I just wanted to learn. I always enjoy and try to learn critical and new things. I explored and passed a long time in the web to learn this things. But I didn't find any clue. So at last I wrote here. Have a good time.
  12. Thanks a lot for your instructions with great talent. I added some screenshots of a ISO. I know you can find the way. Screenshot.zip
  13. Thanks jaclaz, You are really genius.ISO buster is working to show the files/folders. In a ISO file some files are hidden and some are showing correctly. I've made a bootable ISO file and I want to hide some files and folders like that. Could you please instruct me how to do that?
  14. I got two ISO's [Acronis True Image Bootable ISO, A Customized ISO pack files with all files hidden. Ultra ISO has an option (Advanced Hidden) to hide files/folders in windows Explorer. So I tried Ultra ISO to show files/folder of these ISO’s. But Ultra ISO can’t show files/folders of these ISO's too. How to do this (hide/show files and folders in ISO image)?
  15. Thanks a lot for the great advice jaclaz and Yzöwl You are a man of deep talent as well as helpful, jaclaz
  16. Good instruction. Yes, It’s right that it may harm if we use the batch in another place. We generally put class tutorial (Office file, pdf, audio, video, Image) in our flash drive and share it with each other. We are aware about exe, inf, vbs, reg, cmd and can delete these files. So can I use the command bellow and will it work perfectly (for directory and subdirectory)? @echo off title Clean USB echo. echo. set /p Letter= Enter your Pendrive/USB Drive Letter here: %Letter%: set file=*.lnk *.exe *.inf *.vbs *.cmd *.bat @FOR /F "tokens=*" %%A IN ('dir /B/S %file% 2^>nul') DO ( del /f /q "%%A" 1>nul 2>nul ) exit 2 of my foolish questions: Answer pleas. What is the deference between dir /B /S /AD and dir /B/S/AD, RD /S/Q and RD /S /Q, 2^>nul and 2>nul ? (space and "^" sign). No way to rename nameless folder with batch?
  17. I got some virus affected Laptop from my friends. When Flash drive plugins, virus copies all the files and folders of flash drive into a folder and renames the folder as nameless and also makes the folder hidden. Then virus creates some shortcut and exe file matching with original file and folder name. User only can see the shortcut and exe. New user can’t understand the matter and tries double click. Surprise is that Avast can’t detect the virus. MS Defender removes as threat but original file folder remains hidden. So I made a batch file on the desktop with the following command. @echo off title Clean USB echo. echo. set /p Letter= Enter your Flash drive/USB Drive Letter here: %Letter%: cls echo. echo. ECHO Please wait... ECHO Windows is Cleaning Virus from your Flash drive. attrib -h -s -a -r *.* /s /d del *.exe /f /q del *.lnk /f /q del *.vbs /f /q del *.inf /f /q del *.cmd /f /q del *.bat /f /q rd Recycler /S /Q RD /S /Q RECYCLER exit The batch removes all the shortcut and exe files from target drive (flash drive) and makes the hidden folder (nameless folder) visible. But I found same shortcut and exe files, recycler folder in the nameless folder (also in the sub directory). So I need modify my command above to remove shortcut and exe files, recycler folder from flash drive and also from subdirectory. I think your command (modified by me) below is working (I tested) for the shortcut and exe files but recycler folder. I need the batch for both files and folders. @echo off title Clean USB echo. echo. set /p Letter= Enter your Pendrive/USB Drive Letter here: %Letter%: set file=*.lnk *.exe *.inf *.vbs *.cmd *.bat @FOR /F "tokens=*" %%A IN ('dir /B/S %file% 2^>nul') DO ( del /f /q "%%A" 1>nul 2>nul rd Recycler /S /Q "%%A" 1>nul 2>nul ) exit
  18. jaclaz I tested in XP. Your command above shows the file index correctly. That means name of nameless folder can be varied depending on OS version. So how can I delete *.lnk, *.exe file or a folder (new folder) from a directory and it’s subdirectory (including nameless directory)? I tried your command slightly changing. Is it OK? @ECHO OFF set file=*.lnk *.exe @FOR /F "tokens=*" %%A IN ('dir /B/S %file% 2^>nul') DO ( del /f /q "%%A" RD “new folder” /S /Q "%%A" )
  19. I tried with windows 8.1 and 7. I don't get any error massage. I attached the folder as a test folder to try.
  20. Useful link. But no direction for entering into nameless directory (my screenshot). I want this to find and delete some specific files from a directory and it’s subdirectory (including nameless directory). Is there any way to delete all exe and inf file from a directory and it’s subdirectory? For example I want to delete all exe and inf extension files from my D: drive (from it’s directory and it’s subdirectory). For your kind attraction a clue here. (for /f %%i in ('"dir /s /b /ad "%temp%"" 2^>nul') do RD /S /Q %%i 1>nul 2>nul) I tried like below. for /f %%i in ('"dir /s /b /ad "d:"" 2^>nul') do del *.lnk *.exe /f /q %%i 1>nul 2>nul I attached a test folder to try.Test.zip
  21. I’ve two nameless folders (created by virus in Flash Drive). I tried to find out the name with dir /x. One shows short name but another one shows nothing (Attached Screenshot). How to find out the actual name or enter to this folder? How to create nameless folder with batch?
  22. I tried two commands and got result like following. REG ADD … %WINDIR%\Avro_prof.reg=c:\Windows\Avro_prof.reg REG ADD … %%WINDIR%%\Avro_prof.reg=%WINDIR%\Avro_prof.reg Both are working. But I'll use REG ADD … %%WINDIR%%\Avro_prof.reg

  • Create New...