Search found 87 matches

by bars143
30 Oct 2014 23:05
Forum: DOS Batch Forum
Topic: how to catch a remaining files that are below 9-files
Replies: 2
Views: 1443

how to catch a remaining files that are below 9-files

Hi To All Experts, i had a parent folder containing a folder and files whose list are shown below: CURRENT FOLDER EXPLORER.bat episode_view(1).php episode_view(10).php episode_view(100).php episode_view(101).php episode_view(102).php episode_view(103).php episode_view(104).php episode_view(105).php ...
by bars143
25 Sep 2014 09:11
Forum: DOS Batch Forum
Topic: HIGHESTNUMANODENUMBER
Replies: 20
Views: 6659

Re: HIGHESTNUMANODENUMBER

code below:

Code: Select all


@echo off
setlocal
set "__CD__=z:\bogus\"
pushd c:\
for %%A in (test) do echo %__CD__%%%A



will output in my window xp sp3 :

Code: Select all


z:\bogus\test

by bars143
18 Sep 2014 05:13
Forum: DOS Batch Forum
Topic: How can I set a value to %%variable in the for /L loop?
Replies: 19
Views: 5141

Re: How can I set a value to %%variable in the for /L loop?

hi, foxi i found out why "goto" does not execute when specified number 100 is reached. @echo off for /l %%i in (1 1 500) do ( if %%i==100 pause & echo on & goto :exitloop echo -------%%i----------- ) :exitloop echo verifying loop number before executing notepad pause notepad it sto...
by bars143
17 Sep 2014 23:21
Forum: DOS Batch Forum
Topic: How can I set a value to %%variable in the for /L loop?
Replies: 19
Views: 5141

Re: How can I set a value to %%variable in the for /L loop?

foxi, why it has no error message to display in console that its still running and why "pause" does not work? The loop is still running and it will execute the full 10 million times before the pause command is reached. It is just not displaying any text and is not running any commands So ...
by bars143
17 Sep 2014 17:52
Forum: DOS Batch Forum
Topic: How can I set a value to %%variable in the for /L loop?
Replies: 19
Views: 5141

Re: How can I set a value to %%variable in the for /L loop?

Hi Foxi, below code is really called a break loop? @echo off for /l %%i in (1 1 10) do ( if %%i==5 goto exitloop echo -------%%i----------- ) :exitloop pause im using "window xp sp3" now bars Increase the 10 to 10 million and try it. foxi, i increase 10 to 10000000,then my console shows t...
by bars143
17 Sep 2014 07:12
Forum: DOS Batch Forum
Topic: How can I set a value to %%variable in the for /L loop?
Replies: 19
Views: 5141

Re: How can I set a value to %%variable in the for /L loop?

Hi Foxi,

below code is really called a break loop?

Code: Select all


@echo off

for /l %%i in (1 1 10) do (
  if %%i==5 goto exitloop
  echo -------%%i-----------
)

:exitloop

pause




im using "window xp sp3" now

bars
by bars143
23 Aug 2014 23:52
Forum: DOS Batch Forum
Topic: Script for Automatically moving files older than 'X' days
Replies: 15
Views: 8251

Re: Script for Automatically moving files older than 'X' day

@echo off set X=30 set "source=C:\Work" set "destination=D:\Archive" robocopy "%source%" "%destination%" /mov /minage:%X% exit /b hi Yuri, my netbook has changed from window 7 to XP what is equivalent of ROBOCOPY in window xp sp3 ? or can you give me scripts ...
by bars143
16 Jan 2014 03:00
Forum: DOS Batch Forum
Topic: code to detect time of webpage finish loading in firefox?
Replies: 1
Views: 2798

code to detect time of webpage finish loading in firefox?

hi to all expert, is there any batch code to detect a time when one tab finish it load in firefox browser? i had a batch code to run (50 tabs) with (15 seconds interval of sleep/wait) (per tab) and i observed that not all 50 tabs are within 10-15 seconds to finish load of webpage. (actually my netwo...
by bars143
15 Jan 2014 03:22
Forum: DOS Batch Forum
Topic: firefox commandline code for auto-saving webpages
Replies: 7
Views: 5260

Re: firefox commandline code for auto-saving webpages

im more interested in firefox addson named UnMHT that can saved in multitab in one click for my requirement. iMicros is more like a video saving the webpages but i didt choose it. i choose UnMHT and it saved in .MHT format only. if i have more money to buy expensive data then i have no problem using...
by bars143
06 Jan 2014 23:01
Forum: DOS Batch Forum
Topic: firefox commandline code for auto-saving webpages
Replies: 7
Views: 5260

Re: firefox commandline code for auto-saving webpages

bars, you can change the Agent signature in Wget so the provider can't tell that wget is being used. i will try useragent at wget and Addons -iMacro. i already had web developers addon that set-off image to save data -which also optimize load-speed and it can give a list of links per webpages and y...
by bars143
06 Jan 2014 20:28
Forum: DOS Batch Forum
Topic: firefox commandline code for auto-saving webpages
Replies: 7
Views: 5260

firefox commandline code for auto-saving webpages

hi to all experts, can you give me a firefox addson to autosave webpage everytime i visit their site and everytime i visit their other pages using desktop firefox v26? i only found saving site-link but not webpage? but i google firefox has it own commandline to use commandprompt. and i cant understa...
by bars143
06 Jan 2014 18:19
Forum: DOS Batch Forum
Topic: two findstr questions
Replies: 27
Views: 11204

Re: two findstr questions

Don't be discouraged by my post. Most of those famous unix utilities have been ported so that they can be used in Windows. Look at the nice thread Brian has started about AWK. We have plenty of people around here that also use SED and GREP. If you think you need to use one of those utilities in you...
by bars143
06 Jan 2014 10:05
Forum: DOS Batch Forum
Topic: two findstr questions
Replies: 27
Views: 11204

Re: two findstr questions

can you recommend me a forum site specializing in grep.exe usage like dostips.com in cmd.exe usage? thanks, bars You can't compare GREP.exe to CMD.exe. That is like comparing Apples to Oranges. CMD.exe is a shell like BASH, CSH and the likes on the unix side. GREP would be more to the liking of FIN...
by bars143
06 Jan 2014 01:30
Forum: DOS Batch Forum
Topic: two findstr questions
Replies: 27
Views: 11204

Re: two findstr questions

libintl3.dll is missing when installing to my netbook after downloading a grep.exe from a link specified above. some of the commands need some extra dll. i have uploaded the dlls into dll folder. alternatively, if you are interested to use GNU tools for windows, please go to the m website to downlo...
by bars143
05 Jan 2014 21:26
Forum: DOS Batch Forum
Topic: two findstr questions
Replies: 27
Views: 11204

Re: two findstr questions

On the other question, can anyone let me know if there are different language versions of findstr? Is the line number in the error message always the third token? you can always get a better tool if it allows. Download GNU grep type myBigFile.txt | grep "^something" libintl3.dll is missin...