Search found 336 matches

by MigrationUser
2021-Jul-12, 4:27 pm
Forum: Windows CMD Shell
Topic: For /f documentation
Replies: 0
Views: 12057

For /f documentation

25 Oct 2012 09:42 carlos Hello. In the two pages of for /f documentation, for_cmd.html and for_f.html when mentions the info about the 61 tokens and show the caret, the ascii symbol for copy paste is other. The ascii code for caret is 0x5e and the two pages use in the sequence the ascii code 0x88 Al...
by MigrationUser
2021-Jul-12, 3:56 pm
Forum: Windows CMD Shell
Topic: Progress Indicator For Robocopy File
Replies: 2
Views: 7707

Progress Indicator For Robocopy File

19 Jan 2010 09:20 Chimaera Hi Im messing with this atm that i found on the net @echo off echo. echo. setlocal set COUNT=0 set MAXCOUNT=1000 set SECONDS=1 :LOOP title "\\" call :WAIT title "||" call :WAIT title "//" call :WAIT title "--" call :WAIT if /i "...
by MigrationUser
2021-Jul-12, 3:41 pm
Forum: Windows CMD Shell
Topic: setlocal level counter
Replies: 0
Views: 8649

setlocal level counter

17 Oct 2013 18:46 npocmaka 32 is the deepest level of setlocal when used in batch file (may be it's worth to be mentioned in the doc page). So: set "lev=" (@for /l %%i in (1 1 33) do ( setlocal 2>nul && set lev=%%i ) && for /l %%o in (1 1 %lev% ) do ( endlocal & set lev...
by MigrationUser
2021-Jul-12, 3:34 pm
Forum: Windows CMD Shell
Topic: Search for text in PDF files and copy to folder
Replies: 0
Views: 8538

Search for text in PDF files and copy to folder

16 Sep 2011 19:11 Janus I am trying to perform the following task: Search for a specific text in many PDF files in one location and copy found PDF files to a different location. Preferable with a log file specifying where the found PDF files were located + time. This is furthermore complicated by th...
by MigrationUser
2021-Jul-12, 3:19 pm
Forum: Windows CMD Shell
Topic: Pick random file from a folder
Replies: 0
Views: 9212

Pick random file from a folder

17 Feb 2007 06:10 NDog I have a startup batch file. I want it to be able to scan a folder (c:\bmp) and choose a random .bmp file in that folder then set it as the wallpaper in windows (or at least set it as %userprofile%\Application Data\Microsoft\Internet Explorer\Internet Explorer Wallpaper.bmp). ...
by MigrationUser
2021-Jul-12, 3:14 pm
Forum: Windows CMD Shell
Topic: Robocopy and the XX Argument (Exclude Extra)
Replies: 0
Views: 17067

Robocopy and the XX Argument (Exclude Extra)

baptea 01 Dec 2011 19:54 Hey, I just wanted to clarify the behaviour of the /XX argument provided by Robocopy. The documentation on ss64.org currently reads: An "extra" file is present in destination but not source, excluding extras will delete from destination. SRC: https://ss64.com/nt/ro...