As I'm just learning Powershell, I want to write a simple batch script that counts the number of lines in a text file and prints it to console window at the end. I wrote
Clear-Host
$counter=0
for /f ...

we tried to create one output file(SQL.txt) by calling the one SQL file in batch fils, it got succeed then tried to assign the particular value from particular line in the output file(SQL.txt) using ...

I have a Seagate Backup Plus Drive, and a FreeAgent GoFlex Drive. When I plug them in, they alternate between (E:) and (F:). I need to write a script that can be accessed on any computer, or any drive ...

i have a very basic understanding of batch files, mainly because i am self-teaching.
i am writing a batch file just for fun but what im wondering is if there is some way to make it so that, like for ...

I have a batch file that needs to download and unzip a file. I do have wget.exe in the directory, so thats why im using wget. The reason there is del C:\Windows\shell.exe is because im making an OS ...

I'm trying to use a batch script to identify the name of the wireless adapter (people rename them). then use the answer to restart that adapter. Is there a way to disconnect/reconnect with a specific ...

Our project uses gettext to allow for multiple languages. Further, there is a *.bat and *.sh file, which generates the current POT file both from the PHP files and Smarty templates.
Is there a way to ...

I am trying to copy a file from a client to the server. It should be a dynamic client path and the server path is static. My first thought that I ping every Client in the network and if available copy ...

Hi I have a batch script to move x amount of files from one folder to another. The counter that count the files moved is not incrementing. The script is as follows
SETLOCAL ENABLEEXTENSIONS
SETLOCAL ...

I'm working on a little project and came across (big suprise) another issue.
Here is the code that has something to do with the echo command:
@echo off
set /a project=nothing
echo The current project ...

hi i'm looking to see if someone can review my batch file i made...the choice command is not working...thanks for your help
(running win8)
here is the code
@echo off
echo welcome to Vip3r coding and ...

So my problem is that i'm using a batch file to move all movies, images, and so on. I'm using it to organize a very big hard drive over 20GB. So everything was working fine till I got to a new hard ...

I'm trying to write a batch script that will automatically attach the most recently created file from the most recently created folder within a directory.
Every month a new document has to be scanned ...

Hi I have a batch file that performs a task when the user enters the character 'y' into its console windows. I want a visual basic windows form application to automatically enter this character into a ...

I'm using a batch file to run an executable jar file. The jar allocates a lot of memory and I want to allocate as much as possible for the virtual machine.
Currently I use a static allocation:
java ...