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

HI Experts,

I need a batch file or script that will copy few icons from a network share lets say s:\\shared\programs\test.ic to the user desktops.

I have windows 7 environment.

Thanks,

424 views
Announcing the Most Valuable Experts of 2016
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Hello,

I am a beginner at working with and understanding .bat files. I need one to do a simple find and replace. I have googled and cant seem to figure it out. Here is what I am looking for it to …

1629 views

I am trying to write a script to activate Windows and Office for my workplace.

Currently it works when we use the file path assuming C: is the directory. However with some folks running multiple …

218 views

Hi guys

I'm looking to create a USB stick which automatically runs a remote desktop connection when you plug it in.

I've tested an autorun file which opens a batch file which in turn runs MSTSC …

629 views

Hi Experts,

I was looking for the best way to run linux shell commands in linux system from a windows system remotely using powershell and batch.

Please let me know the best way to do it.

641 views

Hello -

Background Info: my code is attempting to use a list of points (200+) to navigate to a specific URL containing each point and copy/save the data in a text file. I got the code working for …

417 views

I have a batch file it renames files

rename *.rar *.cbr
rename *.zip *.cbz
rename *.7z *.cb7
rename *.tar *.cbt
rename *.ace *.cba

but some times I have a file that has the same name as what…

543 views

I am trying to create a random password using batch.

I googled and found a method but it involves setlocal delayed exapansion and all which is affecting my existing code (with special characters …

423 views

I have a small process that is one of the steps in a SSMS/SQLAgent job.  It kicks off a program on another server using psexec and if I run the bat file manually it works.  But when I run the step in …

218 views

Hello Folks,

Does anybody know a good compiler for BATCH files (cmd, or bat) to EXE? or a powershell(.PS1) to EXE?

Thanks for looking

235 views
Space-Age Communications Transitions to DevOps
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Running Windows 7 Pro on a Dell T3400.

I need to copy a large number of files from drive G to drive H.  Both drive G and H are usb drives.  They are connected to the T3400.

Drive G contains …

1048 views

Hello experts,

I have the following script which allows me to restart servers based on a txt list.

(CODE)

What I want is to add a ping condition with a intlooping  and intDelayLooping …

225 views

Hi All

I am creating a batch file that copies the contents of 3 folders to a single folder.

I have not got very far at the moment as:

1) I want to copy from 3 source locations to the same …

522 views

I am working with a comma delimited .csv file and want to convert to tab delimited .txt file.   However, there are more than 1 million records so I cannot accomplish using Excel unless I split the …

1133 views

shutdown -r -m \\Server IP

Hello experts,

I have the following command:

shutdown -r -m \\Server IP

I have more than 10 servers and I would like to launch a batch in order to shutdown the …

422 views

Hi All,

I've found many variations of this code I need online; however, I can't really get anything to work properly.  I'm trying to create a .bat script that will rename a file name to a specific …

1621 views

Running Windows 7 Professional SP-1 32-bit, I use an application called InterWarn to notify me when the National Weather Service, or another agency, has issued a storm warning.  The application pops …

545 views

Created a task to run a powershell script automatically. When i run the task the powershell runs, but it gets stuck at the prompt to hit R for Run once S for Suspend or ? Help.

How do I get the …

963 views

Hi Experts,

I know when someone has an Access app open with one version (lets say A2003) and another user has a different version (A2010), then it will not open just by double clicking on the …

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

Dear All,

I am trying to copy from C:\Data to C:\NewData with all excel and word files including sub folders but it copies from the left to right if the data is only modified on the right from …

326 views

I had this question after viewing Windows updates batch files (https://www.experts-exchange.com/questions/29001304/Windows-updates-batch-files.html).

Had a previous question in regards to doing a …

3259 views

Hi,

Having trouble getting this to work per various searches.  I basically need to exclude all the *.dat files in my .zip archive.
I believe I need the ' -x!*.dat' but can't figure out where to …

1317 views

Experts,

I have seen a lot of scripts, but can't seem to find one that will cover my needs. I need a script that will sync/ mirror two folders. The parameters of the script need to have the …

1044 views

Greetings,
I'm in the process of moving about 1.3TB of data from Disk3 (G:) to Disk6 (K:) on a Windows 2008R2 virtual server.  Once the data from Disk3 is moved, it will be wiped.  Disk3 is a …

19124 views

# Look for a variable
status="RUNNING"

# Loop and check variable %status%
status=checkstatus
# wait for 5 seconds
timeout /t 5
if status != "RUNNING" then
echo "finished"
exit

529 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