Good day, I hope you guys are able to help me with this. My script is as follows: @echo off setLocal EnableDelayedExpansion cd C:\Decryptor for /f “tokens=* delims= ” %%a in (c:\temp\recordings.txt) do (encryptwave-w32r-1-1.exe -d “%%a” -o “C:\recordings\recording.wav”) What i need is for the file ...
Computing.net: Question & Answers Forum Latest Questions
i declare a string, now i want to find its length like: String x=”Fauziya”; int i=strlen(x); bt its not working,plz help me out..
Hello, I have a simple task i.e. run autoexpect program to automate telnet. I was able to do it on my Solaris box but I am stuck on my Windows XP box. Here’s what I did: 1. downloaded expect-5.43.tar to ...
I have been trying to make a batch rpg for ever. I just got around to it but I can’t figure out how to make a working money system Like you buy stuff and it takes money and When you sell ...
Whenever I tell the program to go to correct1 it says goto was unexpected at this time. @echo off cls set /a checkpoint=0 :start set /a checkpoint=start cls echo You are in a dark room. echo You see a “light switch”. set ...
I have a pipe separated text file with 2 lines. I need to remove the CR/LF from the last line in the file. I must do this using the DOS batch script that created the file. Text file: Line1has|WWW|This is a ...
I have folder (let’s say it’s e:\images) with thousands of pictures, all with the following naming conventions: s_4587.jpg s01_4587.jpg s_10293.jpg s01_10293.jpg s02_10293.jpg etc. Basically, the number in the name specifies what the image is. s indicates that it is the first image ...
Hi, I am stuck with my windows batch script š I want to check if a text file contains unix style line endings (LF) and windows style line endings (CR LF). I am able to detect windows style line endings with this command: for ...
This batch script can get file version of any applicationĀ (*.exe ;*.dll)Ā inside a directory (in my example iĀ set “RootFolder=%ProgramData%”); so you can change it as you want like (set “RootFolder=%AppData%”) and so on … Just Change this Variable ...
hi, i’m trying to semi-automate a batch file of mine for file backups. i’m using an ‘if’ statement to determine (by comparing to %~d0) if the batch is being run from the backup drive (so use %~d0) or the C: drive ...