Windows Batch

11K

Solutions

8

Articles & Videos

11K

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. Powershell
  8. Shell Scripting
  9. Windows OS
  10. Active Directory
Refine results

Amazon Music, for reasons only know to them, downloads the following file

          Mason Williams - Change the World.MP3

renaming the files during download as follows:

          01-02- …

516 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.

who knows to create a script to stop my tool.exe process when i get a type of error 12 times in a row?
thank you

235 views

Hey Experts.  I have two directories (A and B).  Almost all of the 200 files that are in A and B are the same except for maybe 10 or 20.  The 10 or 20 files have a different size and modified date.  I…

1550 views

Hi Expert,

I created a database where i stored all servers and database information like database owner, server name, creation date etc...My goal is now if a new database create or dropped from any…

733 views

List Boot time of several computers

I have this command below that displays the date and time a computer was rebooted.

Systeminfo /s ComputerName | Find "Boot"

it works fine, however I can do…

419 views

Not sure why script below is not working. Closes immediately after populating the dsquery
Scripts needs
-Get a list of PCs from AD OU
-Check if a file exist and copy some archive logs with …

723 views

I have a CMD file that connects to an FTP server to transfer files. When the FTP server is unavailable, an alert email should be sent by a seperate Powershell script. Everything works fine when I run …

845 views

WServer2008. ST is supposed to run a batch file which FTP's a file to a remote server. It doesnt. If I manually execute the batch file, it does. I've tried "run with highest privileges" and using the …

120 views

Create a script to deploy a window patch. However, it is running for over a hour without any error. Any idea ?

Thx

635 views

on the desktop of the Client PC...i have a .bat file looks like this... They run it and it works perfectly..

bcp "SELECT chkdate, Supplier, Expr1, Col9, Col14 FROM  Company2.dbo.vwISP  Order By …

1035 views
How our DevOps Teams Maximize Uptime
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Suppose  file a.bat is calling b.bat.  If there is any error in running any command line in b.bat, is it possible for this error be caught in bat.b

In file a.bat, the following lines have been …

437 views

We are using Second Copy (SC) to back up files.  This has been very successful for years.  I'm in the process of tightening up on file access security.
We use Windows Task Scheduler to fire off …

239 views

Hello experts,

I have the following csv file attached. I am looking for a cmd command or a vbs in order to remove empty row.

Thank you again for your help.

1214 views

I need to set a variable based on two conditions.  If either of the conditions are true then set the variable one way, if neither are true then set the variable another way.

Basically I'm playing …

1217 views

This is a script  runs with command prompt and when do ''his job''  command prompt closes automatically and I would like to Pause and stay like that,can anyone take a look?thanks

i tried this but …

524 views

Hi All
I am using batch file to get multiple files from ftp site to local directory but it is not putting the files in the directory mentioned instead putting it in the same directory where the batch…

937 views

Hello,

I have a script that I am using to delete old files off of the system by modified date.  Is there a wild card that can be used in the folder path?

(CODE)
If I run this on a specific …

843 views

I am in need  of some assistance by creating a script that creates a subkey in the registry that contains the hostname:  

example:
[HKLM\Software\Greening\FMP@'hostname']

The hostname needs …

738 views

I was looking for a powershell that would download all of my report objects.

I have something that will get the RDL files in a folder structure which is great.

I need something to get it all …

781 views
Major Incident Management Communications
Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

We have a program that generates files in the this format:  Report.20170502.log
The report get generated and filename represents the completed date.

I am look to run a daily script to pick up …

648 views

I need to know how to calculate the date difference between the current date and the eff_date parameter that is in the batch file.
The output of the date difference would need to go in multiple …

530 views

I want a batch file to rename files as follows.

Filename random text here S01E01 random text here.mkv    would become   S01E01.mkv
Filename random text here s02e01 random text here.mkv    would …

1244 views

What I am trying to do is setup a scheduled job that copies files from a server not joined to the corporate domain to a server that is in the domain.
I am using robocopy.

It would be very easy to …

871 views

I had this question after viewing Modifying Robocopy script to migrate (move) from one drive to NFS share (retryable)? …

979 views

Hi People,

I'd like to ask some help from you to assist me in modifying the Robocopy script below:

(CODE)

So that it can:

1. Move the files safely from D:\ Passenger Details directory into…

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

Windows Batch

11K

Solutions

8

Articles & Videos

11K

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