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

learn more… | top users | synonyms (1)

2
votes
0answers
39 views

Printing pages to different feeds (pdf) WINDOWS

We are currently sending out letters that print: Letter on letter-head (customized for recipient) Instructions on regular paper (customized for recipient) These letters are all sent automatically ...
2
votes
0answers
715 views

Batch file to move/compress/delete files

I am trying to write a batch script that will run automatically daily to do the following: Move files older than 2 days to from the main directory (Jason) to an archive directory. Zip files in the ...
2
votes
0answers
615 views

Command line switching

I have read through some suggestions but I am just not technical enough to get this I think. I am a CAD designer and each file has 5 files associated with it. I have 3 sets of 5 files, and each set ...
1
vote
0answers
43 views

APC Smart-UPS 1000VA - command file won't get executed

I've got this old piece - http://goo.gl/5M37Sc, working reliably so far, but it has one big problem: command file when power is down won't run. Everything seems to be configured correctly, but when ...
1
vote
0answers
118 views

Run a batch file on a remote computer as administrator

I am trying to run a batch file (to install some software) on a remote computer. To do this, I am using PSExec. psexec.exe \\COMPUTER C:\swsetup\install.bat This works fine, apart from some of ...
1
vote
0answers
34 views

How to open a webpage if it isn't already open, and if it is, switch to it instead?

I am currently executing this command in my batch file "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "http://localhost" to open up my page in Internet Explorer after generating it and ...
1
vote
0answers
38 views

Windows / Create txt files of subfolders with file names in it

I have a folder on my HDD that contains like 1000 or so subfolders. These subfolders contain files and sometimes more subfolders. Now what I want to have is a script that creates a .txt file for each ...
1
vote
0answers
271 views

Running Batch file from servers network share - using servers local user account

I am trying to create a script that could be run from servers network share and promt me to type servers local username and password as credentials. So, .bat file is located at ...
1
vote
0answers
45 views

How to hide error dialog box in 7zip?

I am using "C:\Program Files\7-Zip\7zG.exe" -y x -pmypassword "D:\Myfile.rar" -o"D:\Extracted Files\" for extracting a file encrypted with password. Now if 'mypassword' is not the correct password ...
1
vote
0answers
227 views

Windows 8 “Insufficient memory” error whilst copying through .bat files

Info: Sys: Windows 8 Pro 64-bit (6.2, Build 9200) (9200.win8_gdr.130531-1504) BIOS: Default System BIOS Processor: Intel(R) Core(TM) i7 CPU ; 960 @ 3.20GHz (8 CPUs), ~3.2GHz Memory: 14336MB RAM ...
1
vote
0answers
46 views

Sox not recognised as a command in W7

I just moved from xp-32bit to W7 64bit and re-installed sox which I use to resample and create spectrogams. The batch-file cd %~dp0 mkdir converted FOR %%A IN (%*) DO sox %%A -n spectrogram -o ...
1
vote
0answers
188 views

How can I modify the BAT file in this post so it will randomly select 1 background contained in a folder containing multiple backgrounds?

Is there a way to modify the bat file from this post here: How do I set the desktop background on Windows from a script? so that it will randomly select 1 background image from a folder containing ...
1
vote
0answers
92 views

How do I add in a shortcut on the shutdown menu to a program?

I would like to add a shortcut to this menu here: Does anyone know how to accomplish this? I have Windows 7 Home Premium 64-bit SP1 (6.1, Build 7601)
1
vote
0answers
75 views

Programmatically uncheck Show Unzipped Files option for Winzip

I am in need of setting the “Show Unzipped Files” under Home > Unzip options to unchecked for the Winzip 16.5 . The default installation of winzip MSI set the “Show Unzipped Files” options as checked ...
1
vote
0answers
263 views

Issue with running Winzip script in batch file through Informatica

I am facing an issue while executing the winzip script through a batch file in Informatica. I have prepared a batch script with below winzip command. FOR %%f IN (%WorkingDirectory%*%FILE_VAR%*.txt) ...
1
vote
0answers
144 views

From within a bash, bat, or powershell script is it possible to get the last IM message sent to you within Lync?

I use Outlook and Lync 2013. I have msys bash installed, and I have a script that runs a while(1) loop that sends Growl notifications whenever an IM is sent (it reads the ugly Lync log files). I'd ...
1
vote
0answers
1k views

How come adding desktop icon with shortcut.exe no longer works?

Here's the code from a batch file: @echo off rem add desktop icon "C:\Program Files\shortcut.exe" /f:"%userprofile%\desktop\Knowledge NoteBook.lnk" /a:c /t:"C:\Program Files\Internet ...
1
vote
0answers
1k views

Is it normal for scheduled task behaviour to differ from running the batch file manually?

I have a windows service that I need to stop and start every 30 minutes using a Windows Scheduled Task. The service itself can be manually stopped via the Services management console (right-click -> ...
1
vote
0answers
422 views

How can I create a VPN connection via a startup script?

I am trying to deploy a VPN connection to all laptops on my Domain via the startup script. It has to be done at startup and not login as the connection has to be available to all users and they don't ...
1
vote
0answers
121 views

EditPad Pro saves Python files as Batch file output ()

I am using EditPad Pro and my file type is set to Python. EditPad is great and I like it but recently I was trying to update Google App Engine and I got an error during installation saying that my ...
0
votes
0answers
44 views

Batch file needed to query a specific location

I am not a coder and would appreciate any assistance. I need a batch file which will query a NAS location and produce an output of the upper level directories (and maybe the second level down). The ...
0
votes
0answers
17 views

Copy multiple files to folders. Use filename

How do I move multiple selected files to folders with using the filename? Any tool or cmd is welcome :) One file a time: press Win + R and type in shell:sendto create a new textfile in this ...
0
votes
0answers
21 views

How can I start a batch script before open some type of file?

I'm writing some custom lock file system for my company. I want to start my lock_engine.bat before open some type of file. for example here my bat: @ECHO OFF set FILENAME=%~nx1 echo. is locking ...
0
votes
0answers
22 views

Replace “open command window here” to open git sh.exe bash

Is there a way to replace the default option in windows context menu to open command window in the current directory to open git's sh.exe bash in the current directory?
0
votes
0answers
27 views

Remotely use a local account to unlock another local account

So I have had an interesting problem pop up. I am trying to make someones life easier by making a script to help reset local accounts on windows 7 machines. Ideally, we'd like to do it remotely, so ...
0
votes
0answers
8 views

Error in Creating Android Project Using Cocos2d

When i am trying to create the project using cocos2dx i am getting this error of cygwin.Even though my path is correct for cygwin which is C:\cygwin\bin.My project is created but it is missing few ...
0
votes
0answers
51 views

Windows batch script: Manual power up vs Wake on Lan (WOL)

OK, I have a (win 7) desktop computer with WOL set up so I can turn it on remotely, it works fine. Next thing, on this computer I have a batch script, which runs at startup and starts various apps, ...
0
votes
0answers
17 views

How to install the tool(exe) and change settings in it using batch file?

I want to run the installation(which is a single step procedure) of one of the tool(exe file) then in that tool,select File -> Settings and do some settings(select one option(which is a Radio button) ...
0
votes
0answers
23 views

Launching batch files from PortableApps

Being a big fan of PortableApps, and of Textpad, I noticed that later versions of Textpad, provided you have a valid license, allow you to create a portable version of it. So I did that, installed it, ...
0
votes
0answers
19 views

Batch-file pseudo random

Is there a way to do pseudo-random in batch? Simple random is very bad for my program. It's better to looks like: call:random var 1 100
0
votes
0answers
27 views

assign drive letter via batch fil based on label

I need a script which would change the drive letter to e.g. P:\ of an USB drive named e.g. "MY_VOLUME". I know this is somehow possible with diskpart /s script.txt > output.txt (using: "list volume" ...
0
votes
0answers
29 views

Prevent Firefox's “Well this is embarrassing” screen from appearing at first login only

My parents have Windows 7, Firefox 30 and two user accounts which they regularly flip between and then shutdown the computer. As a result the "well this is embarrassing" page appears frequently when ...
0
votes
0answers
20 views

How to save a document and close it after the save

Currently I have a .bat file that opens a program, opens a document and then reloads this document so it contains new data. After that I need a timeout so it can run some other things within the ...
0
votes
0answers
85 views

android.bat is not recognized as an internal or external command

I have setup up the environment for cocos2d-x. I have edited the create-android-project.bat file according to my Cygwin, SDK and NDK locations. Now when I try to create a new cocos2d-x project double ...
0
votes
0answers
28 views

Get directory by filename

My batch script receives a filename with full path (eg.: C:\...\file.c) as first argument. I need to get the directory of that file and go to the directory, much like: cd C:\...\ How do I do this? ...
0
votes
0answers
139 views

Getting a batch file to run windows 7 psr tool

I'm trying to run the Windows 7 problem steps recorder tool on a remote computer using screenconnect. Screenconnect allows you to quick launch files remotely, so I'm using batch files. The goal is to ...
0
votes
0answers
40 views

Windows filename formatter BAT script?

At work we upload files for publishing to the web. The filenames people use are atrocious. Is there something easy out there like a .BAT file that they can drag the file on to to have it clean up the ...
0
votes
0answers
89 views

.bat file not getting startup

I installed elasticsearch server in my local machine where I don't have administrator access. I try to open the batch file it runs successfully. When I installed the same in a local server with IIS, ...
0
votes
0answers
131 views

Batch muxing with MKVmerge, issue with batch file not seeing sub-folders

So recently I've been trying to convert all of my *.avi files to *.mkv files using mkvmerge and since the program doesn't have anyway built in to do multiple files/outputs at once, started digging ...
0
votes
0answers
206 views

Batch file - Copying folders with percentage

I'm currently trying to create a batch file, which actually copy a folder from a server to a clients machine. And I'm playing around with batch file, using xcopy, and it gives me the percentage of ...
0
votes
0answers
28 views

How to view file activity (from the command prompt)?

I want to see who recently saved a large number of files to a shared folder on our network, and if I recall, there's a way to print file activity from the last week for example in the command prompt. ...
0
votes
0answers
139 views

Batch script to get data in an infinite loop and post to a URL

Here is my working script for Unix. It gets data from command line and posts this data to a URL: #!/bin/bash while read line do echo `curl -XGET "http://domain:8080/test/$line"` done I tried ...
0
votes
0answers
132 views

Adjust Microphone Volume After Launching Application

I currently have a USB headset plugged into my computer and its mic volume is set to 82%. Whenever I launch the game Titanfall, my mic's volume is raised to 100%. I am trying to find a way to ...
0
votes
0answers
11 views

SoX Unable to batch process more than 100 files

I'm using this: cd %~dp0 mkdir converted FOR %%A IN (%*) DO sox %%A -b 32 "converted/%%~nxA" rate -I 192000 pause If I try to drag-drop more than 100 files it simply does nothing. How might I ...
0
votes
0answers
64 views

Invoke bat file from JavaScript file with parameters

What I need to do is to pass two parameters from HTML to a batch file. I am invoking a batch file from a JavaScript method inside HTML, and I am able to invoke the bat file, but I can't pass any ...
0
votes
0answers
18 views

Irssi - Window disappearing after opening through Start Menu

I am using Irssi for an IRC client, and I can open it when I oepn Windows File Explorer, and navigate to the directory, then double click on the .cmd, or .bat files. However, when I go through the ...
0
votes
0answers
79 views

Runas weird functionality with command line

I have a .bat file I use to launch some programs. Some of them require elevated privileges (i.a. a devcon-based does-device-exist check), but some don't. So, I run the .bat as administrator, and use ...
0
votes
0answers
39 views

How to start an application in a given directory, using other as its working dir?

For a system we are deploying for our customer we need to run the setup executable from %temp% and have it use for the installation, files in another directory. This cannot be solved at the ...
0
votes
0answers
61 views

Multithreaded FTP from Batch File Windows

I need to implement a multithreaded FTP upload of all files in the directory of an FTP server. Presently the batch file uses mget and to upload changes uses an mput. This very slow. I was looking into ...
0
votes
0answers
84 views

automate drive mounting after Cisco AnyConnect client is connected

I have a request to write a bash script for clients to open VPN connection and automount remote drives. I am not sure how to approach it. I figured out I can use "vpncli.exe connect " to connect, but ...