For Related Problems & Solutions

22 tags
Refine Tags
Search Tags:

Start a discussion

Results 1 - 22 of 22
[Solved] FOR capture and echo output
Summary: Below is some output by DISM. I need to capture the line "Current Edition : HomeBasic" and then echo just it when running the command to get the outpu...

[Solved] Mulplication table using for,nexted loops
Summary: I need a properly spaced Multiplication Table using For,Next loops that I can easily whip up on my QBasic. It needs to use If/Then/Elses for the spac...

[Solved] Batch directory finder :)
Summary: Hey guys me again ^~^ this time im trying to make a batch program that find out what directory the batch file is in for example the batch file has to...

[Solved] problem with findstr - i need to get the searched string!
Summary: Hi. I have a script to do a findstr, using an input file with a list of the various search terms, and spit the filename to an ouput file. for /f "deli...

[Solved] Saving part of a file as a variable.
Summary: I want to open a file called text1.txt find the line that contains <id>example</id> and save example to the variable %ID%. I know that I want to...

Copy word after a found string in batch
Summary: I feel this should be simple but can't find any answers elsewhere. I'm trying to search a text file and when the string "MAC address =" is found outpu...

[Solved] Assigning file extension to local variable
Summary: Hi there I have only recently started playing with batch files (as you will find out from my messy code :) I have a bunch of 2D CAD drawing that I hav...

[Solved] batch - for to set the letters of a word-
Summary: hey guys. i am wondering if it is possible to make a for loop read a file which inside has eg test or t,e,s,t how would i make it so that it sets each...

move files in subdirs, not hidden files, to 1
Summary: I need to move edited Picasa files from the sub folders that it creates on the fly via a batch file. Editing the jpg files leaves hidden folders and b...

Batch File Replacing Text With Numbers
Summary: http://www.computing.net/answers/pr... I've been working with the script above (provided in post #9), and I have a couple of questions. 1) "5d123=N...

decline of user-abused laptop performance
Summary: hi, a few weeks ago i accidently unplugged my laptop without shutting down the system, and, i've done this several times, when i checked my physical ...

FOR woith two variables?
Summary: CLS Echo Changing ownership of groups from textfile echo -------------------------------- set filename= set name1= set name2= @set /P filename=Please ...

For command. Batch file
Summary: How do I format the For command? I have this in my script. for /F "tokens=1-3" %a in (C:\data.txt) do set %a I am trying to get it to read the first 3...

Batch FOR loop
Summary: Hello, I first user for batch in windows 7. I would like to make batch command which can.... after when I run program, it makes many files. and then I...

Batch file for /f loop only doing last item
Summary: Good morning I've got an incredibly long-winded (too long to post here, unfortunately, so it's more a general question) batch file that contains FOR /...

goto within for loop is not working
Summary: i tried the following in a.bat for %%f in (mayank,anurudh) do ( c: cd\%%f if errorlevel 1 goto :cont2 echo %%f goto :cont3 :cont2 echo error %%f :...

Using FOR to check for chars in variable
Summary: Hello, I need a command that will check if a variable's string already exists in another variable. @ECHO OFF :MR SET /A newMR=%random% FOR /F %%R IN (...

Need urgent help with Batch Script !!!!
Summary: Hello Everyone, I am trying to read string from .xml file tag into variable as ex. <Main> <Header FileDate="01/01/2000"/> <Body Type="Firm"...

Batch script to read .xml
Summary: Hello Experties, I am bit new in batch scriptting, I am trying to retrieve string from myfile.xml into variable. I want to have only Date (01/01/201...

Find value in file from text list
Summary: Hi, I am trying to find out how to search a text file for particular values and then delete or replace them. The values are themselves in a text file....

batch file programing copying variables
Summary: Hi all I'm wrinting a simple batch to call some command line applicacion that requires reading a file and use the same name (without the extension)...

For/While Loops for patterns
Summary: Ok here's my problem. I have been working at this for hours upon end it seems like and I just need someone to help point me in the right direction H...

1


Ask Question