Windows Batch

11K

Solutions

8

Articles & Videos

10K

Contributors

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 commonly, they are used to perform a series of functions that are repeated -- copying a set of files created daily with one step, for example.

Related Topics

  1. VB Script
  2. Microsoft DOS
  3. Scripting Languages
  4. Programming
  5. Windows XP
  6. Windows Server 2003
  7. Shell Scripting
  8. Powershell
  9. Windows OS
  10. Active Directory
Refine results

I have a batch script like this which normally works.  I think it's failing as the password contains a > character.  What can I do to get round this.  I've successfully connected to the site by …

610 views
DevOps Toolchain Recommendations
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

I had this question after viewing Can't get the script to continue.... (https://www.experts-exchange.com/questions/29016073/Can't-get-the-script-to-continue.html).


So the above works however my …

1129 views

I have backup files in Directory A, sometimes I have to restore files to Directory B. But robocopy seems always checking timestamp and doesn't overwrite newer files. How can I force it to overwrite …

8342 views

I'd like to copy the contents of a folder (and its subfolders) to another PC. I want a mirror of the drive so I use the /MIR switch.

I know it's a bit of a contradiction , but I'm wondering if I …

524 views

With copy cmd if the connection drops during the copy the file in the destination server will be deleted:

Copy \\server01\IT\xyz.txt \\server02\IT\xyz.txt /Y

Is there other way or command that …

232 views

Running Windows 7 Professional SP-1, 32-bit, I would like to execute a Windows batch file upon shutdown.  I edited the shutdown properties using Gpedit.msc, but I don't know whether I  added the …

721 views

I'll pull pictures off my cameras and they have the typical format of:

2016-07-02 11.07.26.jpg

In a previous situation, camera software would pull the files off an old camera and make folders, 1…

820 views

WIn10/Command Prompt:

I have the following simple batch file, run from the command prompt. It's purpose is to scan a bunch of HTML files in the current directory for a particular string (parameter …

717 views

Hi...
I need to start few processes depending on the available harddrive in each PC.
*ex; if the PC has only one disk then process1 should run, and
if it has 2 harddisks process2 and more …

2322 views

I have a program that outputs different csv files whos names are 3 digit numbers to a folder (ie 140.csv, 555.csv etc.). I need a script that will, when run, move the files from the main directory to …

2757 views
Free Tool: IP Lookup
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I am running a batch script that checks for error files in a specific folder every 60 seconds.This script deletes any error file with size 0 kb(empty file).
If the file size is greater than 0 kb it …

368 views

I know Windows 10 Automatic Updates can be enabled at the command line by tweaking the registry, like so:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto …

1529 views

Greetings,
                    I have some code in Python and want to transfer that code to a .bat script or Powershell. I have little knowledge on scripting and coding. Something I have to invest …

223 views

I am trying to determine a way to create batch program that will look at the values (row by row) in a txt file and make copies of a template Excel file (let's call it template.xls) into another folder…

211 views

Hi,

Stuck trying to get the script to continue.  Idea is, if the %DATAFILENAME% file is found then execute the desired script.  If it's not found then check for next one and so on....

Problem:  …

823 views

I have a root folder C:\Users\username\Desktop\FolderStructure_New that contains 215 folders. Each folder is named for a SKU. In each folder, there is a folder for the revision level. Each revision …

329 views

I need help in formatting the out put of below command.
I have tried in 2 ways
(CODE)

(CODE)

143 views

I have a process that runs...lets  call it process.exe.

There is always going to be more that one of this process running.  Lets say for example that I have 5 of process.exe running.  They would …

1695 views

Hi.
I have a folder with many .jpg files.
I need a Windows batch program to find the highest numbered file + 1 and save it to a variable.
So, I have in my folder:(CODE)and i want a batch file that …

219 views
Webinar: Aligning, Automating, Winning
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Hi guys

I have a text file with full file paths, listed like this example below:

G:\folder\support_team\example.pdf
G:\folder2\work centre\example.docx
and so on.

I want to use this text …

1333 views

I am trying to get this batch file to work to delete all of the profiles off machines that a user has logged into.

for /f %a in (computers.txt) Do delprof2 /u /c:\\%a

I currently have all of the…

317 views

Attached is a sample .CSV file with 2 fields (Phone1 and Phone2).   I am looking for a method (VBScript, Windows Batch, etc.) to copy the contents of  field 1 (Phone1) to Field2 (Phone2), but only for…

235 views

Hi.  I need help writing a batch file ..

I have randomly-named .jpg files in a folder (it's always C:\TEMP).  
I would like to rename these files to a argument that I pass, but add a sequential …

729 views

Hi,

I have two files that should be identical.  However sometimes one of the files will not have the same number of decimal places.  This causes our 'fc' command to fail.   Problem is the variance …

2632 views

Hi
I have created a batch script that adjusts folder ownership and permissions. The script recursively cycles through all subfolders names of a folder. The names of the folders are usernames. The …

827 views
Show more content
201506-LO-Top-001

Windows Batch

11K

Solutions

8

Articles & Videos

10K

Contributors

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 commonly, they are used to perform a series of functions that are repeated -- copying a set of files created daily with one step, for example.

Related Topics

  1. VB Script
  2. Microsoft DOS
  3. Scripting Languages
  4. Programming
  5. Windows XP
  6. Windows Server 2003