|
Answer» i need to DISTINGUISH between %variable% and !variable! can any one till me in what they differ!variable! is using delayed expansion what do u men by delayed expantion is it for geting system variablers that take delay to be returned read this page
http://www.robvanderwoude.com/variableexpansion.html i Appreciate ur help, its realy wonderful PUT can i ask for somthing else that is the %~F0 and any other variables like it '%~' and its meaning or give me WEBPAGE i can find them in type
Code: [Select]for /? at the promptthanks alot u mean that in stead of putting the for loop variable 'I' put 0 and it will work out side the for loop like that %~f0 instead of %~fI inside the for loopQuote from: .bat_man on April 09, 2008, 02:50:52 AM thanks alot u mean that in stead of putting the for loop variable 'I' put 0 and it will work out side the for loop like that %~f0 instead of %~fI inside the for loop
You use letters of the alphabet %%a to %%z and %%A to %%Z for loop variables and you use figures %1 to %9 for parameters PASSED to the batch file from the command line. %0 has a special meaning, it expands to the batch file's own name. thanks a lot i appreciate ur help
|