HI, I’m embarrassed to admit that I’m stumped here. I need vbscript to read in the 2nd the last line in a file into a variable. The number of lines in the file is unpredictable and subject to change which ...
Computing.net: Question & Answers Forum Latest Questions
How do you place contents of .vbs files so that they run from a HTML link ? I’ve tried some ActiveX scripts, but it seems that Google Chrome just won’t let you run bat, vbs or exe scripts from a browser ...
Please find below my code to split the file : @Echo off SETLOCAL ENABLEEXTENSIONS SETLOCAL ENABLEDELAYEDEXPANSION Set /a xxFileNo=1 Set /a xxRecLimit=25 Set /a xxRecCount=0 Set /a cnt=0 Set “xxOutFile=D:\MyTextFileName_!xxFileNo!.txt” Set “xxInFile=D:\MyTextFileName.txt” for /f “tokens=* delims=^|” %%1 in (!xxInFile!) Do ( Echo %%1>>!xxOutFile! Set /a xxRecCount+=1
I discovered a tool I found that detects an SSD drives by drive letter does not work on AHCI Enhanced Host Controller Interface’s so I am back to the drawing board 🙁 I did find that wmic is capable but ...
Well, I’ve been trying to make a simple menu, and at this point its just a bunch of echos, it doesn’t even do anything complicated. And it’s not complicated. Or so I thought. When trying to display characters such as ...
Hi, I am new to TCL, I am running one simple TCL program set VAL 1 if {$VAL < 7} { puts “…”; exit 1 } It is giving an error “unexpected end of file” Can any body help me..
I tried answering a question on this but had to create a new contribution. I wanted to execute a SUBST (yes I know the pros and cons) and have it on boot up. I found a simple way to set/edit autoexec.bat is ...
Hi everyone. I am new to batch programming and need some help renaming a file. The file will be renamed using information found on line one of the file. The filename will be composed of 5 numbers, beginning with leading ...
I had a txt file which has a line of 135 char length each, I need a windows batch whic will read the input file line by line and writ it to the output txt file by splitting the line ...
Say I have a powerpoint presentation with two slides. Slide 1 has an excel object embedded in it – not linked. Slide 2 has a chart. What VBA code would I need to modify the data source of the chart ...