Search found 18 matches
- 06 Dec 2011 01:15
- Forum: DOS Batch Forum
- Topic: Decompress Zip and recompress 7zip with Recursive Directory
- Replies: 1
- Views: 3544
Re: Decompress Zip and recompress 7zip with Recursive Direct
Hi, to compress just use the command as C:\WinRAR\Rar.exe a t DIR DIR\* //DIR is the directory name this will zip the DIR directory to .rar file to Decompress just use the command as C:\WinRAR\UnRAR.exe x a.zip this will unzip the a.zip file as same format first copy WinRAR directory into c drive an...
- 16 Sep 2011 00:52
- Forum: DOS Batch Forum
- Topic: batch checks internet connection
- Replies: 3
- Views: 7049
Re: batch checks internet connection
Hi,
i just write the code to get u understand,
i doesnt thing of making small
i just write the code to get u understand,
i doesnt thing of making small
- 15 Sep 2011 02:35
- Forum: DOS Batch Forum
- Topic: Problems with comparing files
- Replies: 1
- Views: 3349
Re: Problems with comparing files
Hi, I have made the changes to your code, the code was as follows cmp.bat: @echo off cls setLocal EnableDelayedExpansion echo. echo ------------------------------------ echo Updating files.. echo ------------------------------------ echo. for %%a in (D E F G H I J L M N O P Q R S T U V W X Y Z) do (...
- 15 Sep 2011 02:22
- Forum: DOS Batch Forum
- Topic: Please help to create batch file
- Replies: 1
- Views: 3430
Re: Please help to create batch file
Hi, the batch script to check the URL status is as follows, it will display if URL was working, for sample i have listed two examples with working and not working,(need to be tested when internet connection was active) testURL.bat: @echo off set server=www.j2meforums.com/var/www/j2me.org/forum/Sourc...
- 15 Sep 2011 01:43
- Forum: DOS Batch Forum
- Topic: batch checks internet connection
- Replies: 3
- Views: 7049
Re: batch checks internet connection
Hi, to the specifications i have made the batch script for you, you need to change in one line while you execute the code, it is the path of your srvany.exe , echo statements are for your undersanding purpose, the code was connect.bat @echo off set server=www.google.com :check ping %server% > NUL if...
- 15 Sep 2011 01:15
- Forum: DOS Batch Forum
- Topic: Copy Typed String and Paste it into a Text Field
- Replies: 3
- Views: 5635
Re: Copy Typed String and Paste it into a Text Field
Hi, I have created a batch script to read and save a string entered. I don't know Vb script but i have tried to use in java, a.bat: set /p choice="enter string" echo you have entered %choice% java a.class %choice% a.java file should be designed in such a way that it take a argument and pla...
- 07 Aug 2011 23:54
- Forum: DOS Batch Forum
- Topic: connect or disconnect
- Replies: 9
- Views: 9765
Re: connect or disconnect
you are welcome dude...........,
- 02 Aug 2011 06:12
- Forum: DOS Batch Forum
- Topic: Delete locked file on restart
- Replies: 1
- Views: 3527
Re: Delete locked file on restart
hi, i dont know how to fild the locked files, but i can suggest u a solution to this issue, let the locked files are a.txt, c.txt create a batch file nameed as autoexec.bat and the content was del e:\a.txt del d:\b.txt this file name has a special privilege it will get executed automatically on star...
- 02 Aug 2011 06:03
- Forum: DOS Batch Forum
- Topic: calling a bat file...
- Replies: 6
- Views: 6708
Re: calling a bat file...
you are welcome
- 02 Aug 2011 06:02
- Forum: DOS Batch Forum
- Topic: Delete all folders containing a string
- Replies: 3
- Views: 4396
Re: Delete all folders containing a string
you are welcome
- 02 Aug 2011 05:47
- Forum: DOS Batch Forum
- Topic: Need Batch file
- Replies: 1
- Views: 3912
Re: Need Batch file
hi, here is the solution to your problem, BatchSubstitute.bat "core.http.userAgent=BoardPulse" "core.http.userAgent=BlogPulse" a.txt BatchSubstitute.bat "text_to_be_replaced" "new_text" name_of_the_file the file BatchSubstitute.bat is as follows: FILE name :Ba...
- 02 Aug 2011 05:36
- Forum: DOS Batch Forum
- Topic: Hello all
- Replies: 2
- Views: 3504
Re: Hello all
hai
- 21 Jul 2011 07:47
- Forum: DOS Batch Forum
- Topic: Delete all folders containing a string
- Replies: 3
- Views: 4396
Re: Delete all folders containing a string
hi, i used the line given by you, the complete code was @echo off for /D /R %%i in (*.*) do ( cd %%i for /d %%X in (found.0*) do rd /s /q "%%X" cd .. ) cd.. @echo on save this in c:/abc/ it will delete all the directories in this directory, run this file where ever u want do delete thank you
- 11 Jul 2011 04:56
- Forum: DOS Batch Forum
- Topic: connect or disconnect
- Replies: 9
- Views: 9765
Re: connect or disconnect
hai i am unable to get the server address with batch programming, but using google site as server i made the batch file, this will not effect any other server address the batch file is as follows: @echo off set server=www.google.com ping %server% if %ERRORLEVEL%==0 ( @echo internet was connected ) e...
- 11 Jul 2011 04:41
- Forum: DOS Batch Forum
- Topic: batch file to remove temporary files and empty recycle bin
- Replies: 2
- Views: 4443
batch file to remove temporary files and empty recycle bin
hai i have a batch file that clears all the temperary data in 3 places, they are C:\WINDOWS\system32\Temp C:\documents&sett\user\LOCALS~1\Temp C:\WINDOWS\Prefetch these are the area known, if any one knows the other locations add the locations, i am unable to empty recycle bin, help in this conc...