Text file containing a sequence of commands or program invocations that does not need user intervention.

learn more… | top users | synonyms (1)

0
votes
0answers
9 views

Task Scheduler running a bat file that duplicates screen

When you lock a computer on windows 7 your login screen appears on your main display and then on other monitors it is completely black, when your displays are extended. This problem is fixed when you ...
1
vote
1answer
15 views

Bulk Download Images with Organization

I have a list of URLs (pretty much all image urls though some pdf) that I need downloaded. I have found a variety of options for bulk downloading and these would work but I need them to be organized ...
0
votes
0answers
5 views

Email alerts using Blat command

I tried to use below blat command to configure blat in command prompt for sending email alerts. --blat -install SMPT.XXXXX.com NAG@mail.com -but is is showing below message "Blat is not recognized as ...
0
votes
1answer
14 views

Running .bat file in zsh (in Windows)

In a Windows machine I want to avoid using cmd.exe at all cost. I'm trying to use babun (mintty 1.1.3) to run a batch file in a Windows folder. This works: { ~ } » ./file.bat -o ...
-1
votes
0answers
14 views

Making Files From a list of words in a file [on hold]

I need to create a file for every WORD in a TEXT list with the option of adding and or changing the file extension... Example: I have a list (Text File) that contains the following words... Soup ...
0
votes
2answers
14 views

How to restrict changing env variable locally by batch file

I have two batch file x.bat and y.bat. I m calling y.bat from x.bat. File y.bat sets an env variable like: set ABC= Restriction is I cant change this Y.bat file but I want my variable "ABC" to be set ...
0
votes
1answer
16 views

How to Access “My Computer” files from Command Prompt

I'm trying to figure out how to access files on "My Computer" from the command prompt. In particular, I want to access files on my phone's share, e.g., My Computer\SAMSUNG\Phone\somefile.txt. That ...
0
votes
0answers
27 views

My batch files keep instantly closing, and there is no .bat association under FileExts

I am trying to launch a batch executable, but my PC shows no .bat association in the registry. Recently, I started off by simply modding my Star Wars: Battlefront 2 game. Eventually, it asked me to ...
-1
votes
0answers
28 views

Emulate the “Apply” button from Control panel from command line or batch

Some settings can be adjusted from the control panel, like adding a mouse pointer trail or adjusting the speed. Similar changes can be done by changing registry keys. However, then a restart is ...
2
votes
1answer
258 views

FreeDOS AUTOEXEC.BAT

I am using a FreeDOS floppy boot disk made from sys.com of FreeDOS (I am using them on virtual box and floppy disk is virtual). I have wasted all my day trying to make an AUTOEXEC.BAT which loads ...
-1
votes
0answers
41 views

How to drop whole tables in a database using batch script ( Windows)

I would like to know how to drop the whole tables in mysql database using batch script. I've already searched on how to do this in linux and this is what i've found: mysqldump -u$User -p$Pass ...
0
votes
1answer
28 views

Using Win8.1Pro Batch: Unable to verify if BitLocker has already applied encryption

I'm working on a script that assists in standardizing a Windows 8.1 Pro image. In this part I'm trying to verify if BitLocker has already encrypted the drive or not using the following script: ...
0
votes
1answer
28 views

Windows 8.1 batch checking if computer is part of a workgroup and changing if necessary

I've got SYSTEMINFO | FIND /I "DOMAIN:" which displays if it's part of a Domain or Workgroup. But I'm trying to figure out how to take the result of that and if it's anything other than Company.LLC to ...
0
votes
1answer
12 views

How can I set the default Windows8 default open file to insert the file name in a command line oneliner?

When I double click files of the type .xise, I need my system to execute the following: C:\Xilinx\14.5\ISE_DS\settings32.bat C:\Xilinx\14.5\ISE_DS\ISE\bin\nt\ise.exe PATH\TO\XISE\FILE\filename.xise ...
2
votes
1answer
39 views

Batch why <nul breaks my file

Well guys i am basically trying to get user input and type it on the batch I will be using backspace and enter so i cant use choice Thats why i am following this method To capture characters as ...
0
votes
0answers
17 views

Send dynamic argument to an application through its shortcut

I am trying to create a shortcut link which will run/open Command Prompt (cmd) as Administrator having present working directory (PWD) set as the supplied folder path. What I have done: Created a ...
0
votes
2answers
98 views

Opening random file from folder AND subfolders with batch script (Windows 7)

I want to get a bat file that will open a random file (with any extension) from a specific folder, but also open files in all subfolders within that folder. There's another question that asked ...
1
vote
1answer
50 views

How to answer batch file [closed]

I lost my administrator right's in recovery. I learned of the super administrator surfing the net and got access using command line. I got a reply :The syntax of this command is: and then it list's ...
0
votes
1answer
31 views

Getting missing operator error in my batch decryptor

This decryption program gives a load of missing operator errors. What is wrong? @echo off setlocal EnableDelayedExpansion ::OS_sertificate set code=494715842 set /p sertificate=input set ...
0
votes
1answer
45 views

Turn ON display with a batch or powershell

We have a computer connected to a large vizio flat screen that displays secure information and it is always on. I have a script running with task scheduler to shut off only the display at a certain ...
1
vote
1answer
26 views

How do i copy a specific word/number from a TXT file using Batch?

I need to search for a specific nubmer that comes after a string in a text file. For example I have this data: yyy = 80rr, xxx = 136rr, zzz = 95rr and i want to copy the numbers that between ...
0
votes
2answers
28 views

Split command output in batch

I have this command that gives lists of directories and their filepath: for /d %%D in (C:\OS\system\DisplayLanguages) do echo %%~fD I need to separate the last part of the output eg. ...
1
vote
1answer
30 views

Special characters in batch

I'm using windows 7, and I'd like to create menus, progress bars, etc. with special characters like this. How to do this?
1
vote
1answer
32 views

Add item to “New” context menu in Windows 8 for only one user without admin rights

I am trying to edit the registry on my windows 8 computer so that I can create a batch(.bat) file from the "new" menu. The only problem is I don't have admin rights. So I was doing some research and ...
0
votes
1answer
37 views

Can Windows XP use net send command to send a message to a later version of windows?

The net send command can only be used in Windows XP or earliar versions. But can a Windows XP computer send a message to a later version of windows using the net send command?
1
vote
2answers
26 views

Mac Terminal File Rename Randomly

What is the best way to rename files for example .JPG & .jpg at the same time. I have looked on here and google and come across things like below but is there a way to cover both? Script: for i ...
0
votes
0answers
33 views

appending folder name to filenames

please help me with this: for a file structure in a parent folder (say "C:\Folder 1") that contains: Folder A\File a.txt Folder B\File b.txt I would like to prefix the folder name to the ...
2
votes
3answers
97 views

Windows 8.1: Restore .bat file association to default

A few weeks ago I accidentally changed .bat files to open with Notepad++ (a fairly common issue I believe). On Win XP and Win 7 I had a .reg file that updated the relevant registry keys and sorted out ...
2
votes
2answers
67 views

find a directory and opening it in Windows with cmd

is there possibly any way to find the directory of a file ("example.txt") and then if it finds the file open the directory (such as "c:\example\sub\") on cmd (or vb)? of course looking in all the ...
0
votes
2answers
68 views

How to call perl file every minute from batch file

I have written a perl script which i try to call every 1 minute from a batch file. There is no error but it do not call it every 1 minute. It just pop command prompt when clicked once on .bat file. ...
0
votes
1answer
35 views

Make Batch file to add special tags at the front of video files at one folder

I always make download for learning tutorials videos , Some times I don't remember where I can find those videos because they are too many , so I decide to make tags to those file and put them in ...
0
votes
0answers
38 views

Make a batch file close when a program different from the one it starts closes

I need to make a batch file that starts one program, and closes when another closes, but i cant get the batch file to work without starting two instances of name2. When I only use Start /wait, the ...
2
votes
2answers
37 views

Why is the value of ErrorLevel not updating?

I am trying to write a subroutine in batch to determine if a computer has Deep freeze installed or is safely unfrozen. (For those who don't know, Deep Freeze is a program that is commonly used to ...
1
vote
1answer
61 views

Batch file to move files created daily to a specific month folder

Files get placed in a directory daily: myfile11515, myfile1243, myfileABC Need to move them to a different directory on the same computer that has the month folders: January February March etc. I ...
0
votes
2answers
17 views

Batch File not working after modification

I have a batch file that creates folders in other client folders. I added one additional folder to be made now the bat file won't work. Am I missing something here? @echo off set Dir=y:\(Directory ...
0
votes
1answer
50 views

how to get files list in a folder with batch file without file extensions

What I used is below and its perfect but results are with file extension.(ABC123.pdf) dir /a /b /-p/o:gen >C:\WINDOWS\Temp\file_list start notepad C:\WINDOWS\Temp\file_list I need results ...
1
vote
1answer
85 views

Oracle SQL Plus expdp in bat file

I try to export all my bases with a .bat file, but when the .bat file open and connect in sqlplus, the program don't read the last of file. I need export and log all export with Spool. The .bat is ...
0
votes
1answer
61 views

How to stop a running .bat file which runs after every 10 minutes

I have written a .bat file which runs every 10 minute. The problem is now when i want to stop it it never stops. (This .bat file further calls a perl file in the code). What can be done to kill it ? ...
0
votes
2answers
48 views

Why does “cmd /k” reset/clear/delete command history?

Can anyone explain why cmd /k clears the command history of my window terminal (CMD). When I run a batch file within a previously CMD and I put cmd /k at the end of the line, the command history will ...
1
vote
1answer
57 views

Running a batch file command with arguments

I'm creating a script to do some repetitious OpenSSL work, but cannot seem to get the batch file to execute the commands. Once the file has navigated to the correct directory, I try running: openssl ...
0
votes
1answer
56 views

how to download pictures with wget

i would like to download pictures from http://myhomepage.com/plots/20150111-03/4711/4712.png every 3 hours. "20150111-03" is variable, rest is stable. That means every 3 hours the download looks like: ...
0
votes
1answer
40 views

Batch file for getting all file names within a folder

I'm using a program called Irfanview which can merge two images into one using its command line function. Here's an example: i_view32.exe /panorama=(1,C:\folder1\img1.png,C:\folder2\static_img.png) ...
1
vote
2answers
36 views

Is there a more compact way to use the IF loop functioning in a batch file?

The classical way is if "%name%"=="john" goto ok if "%name%"=="eric" goto ok if "%name%"=="mary" goto ok But can this be done in more compact way?
1
vote
1answer
69 views

Need Batch File to close a Window.. NOT the batch window

Complete novice here so please forgive if the answer is obvious. I have a batch file that does the following. Starts program 1 Waits 3 seconds (I have to click a button on program 1 after it opens) ...
0
votes
1answer
29 views

Associating Windows file extension with specific bat file and support argument passing

On my Windows 7 system, I have associated the .blend extension with a specific bat file I wrote, which is shown below: blender.bat: set PYTHONPATH="" "C:\Program Files\Blender ...
0
votes
2answers
46 views

My “break” command is broken

I am not a programmer and I am hoping you can help me. I am using Windows 7. I have a .BAT file which was running fine up until yesterday, specifically what if failing is the "break" command I use ...
0
votes
2answers
51 views

How can I remove all but last 10 characters in a group of files

How can I rename a group of files like admin_ball_126608454.gma another_thing_384157357.gma to ds_126608454.gma ds_384157357.gma
-3
votes
1answer
45 views

How can I get a win 7 batch file to output a list of unique filename prefixes?

I have the following files in a folder MyDocuments 2014-10-10.zip MyDocuments 2014-10-09.zip MyPictures 2014-10-10.zip MyPictures 2014-10-09.zip Ideally I would like the output to show MyDocuments ...
0
votes
2answers
52 views

how to run a batch recursively

I have a parent folder (BIG_Folder), which contains many subfoldes (folder1, folder2, folder3 ...) in each subfolder a batch file exists, it is always the same (x.bat). I want to run all bats, ...
1
vote
1answer
53 views

How fix when cmd prints command instead of run it?

I am trying to automate chef setup for windows. So I wrote .bat according to this: call winrm quickconfig -q call winrm set winrm/config/winrs @{MaxMemoryPerShellMB="300"} call winrm set winrm/config ...