filesystems - Batch file recognition -



filesystems - Batch file recognition -

edit: found problem - re-create across network, took time. when add together timeout 4 > nul or similar, fine.

i've got interesting case playing around batch file, next things:

move jar directory adds jars in directory string (for classpath) runs jar

the problem i'm getting doesn't find new jars while building string, finds existing jars, if run twice it's fine.

to observe jars, i'm using this:

set cp= %%a in ("jars/*.jar") phone call :concat jars/%%a :concat set cp=%cp%;%1

if has explanation or solution, i'd hear it!

see !var! vs %var%

& seperates commands on line. && executes command if previous command's errorlevel 0. || (not used above) executes command if previous command's errorlevel not 0 > output file >> append output file < input file | output of 1 command input of command ^ escapes of above, including itself, if needed passed programme " parameters spaces must enclosed in quotes + used re-create concatinate files. e.g. re-create file1+file2 newfile , used re-create indicate missing parameters. updates files modified date. e.g. re-create /b file1,, %variablename% inbuilt or user set environmental variable !variablename! user set environmental variable expanded @ execution time, turned sellocal enabledelayedexpansion command %<number> (%1) nth command line parameter passed batch file. %0 batchfile's name. %* (%*) entire command line. %<a letter> or %%<a letter> (%a or %%a) variable in loop. single % sign @ command prompt , double % sign in batch file. . --

batch-file filesystems

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -