Computing.net: Question & Answers Forum Latest Questions

Computing Staff
  • 5
  • 5

Hi Experts, I have file with 7 fields (csv). I need a batch with calculates the sum of all the numbers in 5th column. Field1,Field2,Field3,Field4,100,Field6,Field7 Field1,Field2,Field3,Field4,200,Field6,Field7 Field1,Field2,Field3,Field4,300,Field6,Field7 Field1,Field2,Field3,Field4,400,Field6,Field7 Batch should add all the numbers in Column 5 and write a log file saying ...

Computing Staff
  • 0
  • 0

<td><p></p>I want to create a program with menu.<br>4 exmple:<br>===========================================================<br>What do you want to do?<br>1. Shutdown PC<br>2. Restart PC<br>3. Format C:\<br>4. Format D:\<br>5. Exit<br>===========================================================<br>The normal menu script 4 this would be something like that:<br>@echo off<br>echo What do you want to do?<br>echo ...

computing
  • 0
  • 0

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/2010 ) myfile.xml <Main> <Header FileDate=”01/01/2000″/> <Body Type=”Firm”> <Dept Firmid=”0123″ Name=”abc”/> </Body> <Trailer RecordCount=”1″> </Main> for that I am using for /F ...