Explore Windows Batch on Experts Exchange

Expert Solutions for Your Tech Problems

Windows Batch

Batch files are text files containing a script of commands that are executed by the command interpreter on DOS, OS/2 and Windows systems. Most comm...

Read more
  • 12K Content
  • 5.7K Contributors

Expert Spotlight

50+ years in computers
CIO•Document Imaging
EE — FELLOW 2017
MVE 2015,2016,2018
RENOWNED 2018,2019

Troubleshooting Solution

Additional enhancements to a Windows batch file (Powershell option is welcome)

Hello all,

I am using a batch file to automatically sort 1000's of files into their respective …
Troubleshooting Solution

Weird Batch file at login explaination.

All experts! I need your advice on this script. This script was running at login and failed.
it was …

The Absolute Beginner's Guide to Powershell

One of the most heavily touted new features of Windows Vista, Windows 2008 and Windows 7 has been …
Troubleshooting Solution

Deleting Files automatically via script

I have 2 bat files I created and scheduled to run.  The problem is when the scheduled task kicks off …
Troubleshooting Solution

Modify .csv file via script

Not sure possible or not but worth a try.  I have a file 'source.csv'.  It's a ^ delimited file.  I …
Troubleshooting Solution

Send email with .bat file

I'm attempting to create a .bat file that will send a simple email with no attachments. So far ive …
Troubleshooting Solution

getting errors when running msdos commands

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and …
Troubleshooting Solution

Batch ping test not exactly what I was looking for...

I am using the following to ping a list of machines and the end result is not what I was looking for …
Troubleshooting Solution

Emulate this Powershell script into a batch file instead

I would like to emulate this Powershell script, as shown below - to convert it as it were to a .bat …
Troubleshooting Solution

Could you explain how to corretly interpret these Windows environment value?

Hi Experts

Could you explain how to corretly interpret these Windows OS environment value assemble?

I …
Troubleshooting Solution

Batch script to HTA script

I have a batch script that I use that works well, but I am wanting to convert it into a HTA script …
Troubleshooting Solution

Running a script that schedules a stop or start of a database, regardless of what drive letter the database is on

I'm trying to avoid making multiple scripts for multiple DBs on different drives.

To stop or start …
Troubleshooting Solution

Adjust Powershell script to go based on date stamp and not file name

I would like to adjust this script so that instead of looking for the .xls file which was previous …
Troubleshooting Solution

Script for auto-downloading files from FTP

I have a batch file script to auto-download files from an FTP that references a .ftp file...
The …
Troubleshooting Solution

Trigger script to send an attachment based on inside the ini file

I have an ini file called LatestFile.ini found at C:\Users\User\INIFile

When you open the file it …
Opinion Solution

exact files copied have a different size on disk after copying with robocopy

Hi Expert,
I have copied 19 files from one drive to another drive using robocoy. After I copied I …
Troubleshooting Solution

Script that monitors change in a file compared to the next

I have a directory at C:\Users\ProgramFiles\Prg

In this directory 1 Excel file is created every day …
AutoHotkey logo

AutoHotkey - Getting Started

AutoHotkey is an excellent, free, open source programming/scripting language for Windows. It started out as a keyboard/mouse macros product, but has expanded into a robust language. This article provides an introduction to it, with links to additional resources for EE members who want to learn more.

Do more with Experts Exchange.

Get Answers

Take a Class


Monitor your Site

Explore solutions and more