An automated series of instructions carried out in a specific order, such as a Windows script created to launch a specific program on startup.

learn more… | top users | synonyms (1)

-1
votes
0answers
25 views

Future-proof, lightweight Windows scripting [on hold]

I write a lot of Windows (XP .. 8.1) scripts for myself and for others. Friends told me I shouldn't use AutoIt because some AV software blocks it. CMD / BAT is ... not so nice ... I'm rather a "Web" ...
0
votes
2answers
12 views

New to scripting and need help running powershell script to deploy software. (powershell blocked execution)

The following script was written for me. My problem is that when our remote deployment system executes the script, Powershell on the local machine will not run the script. It has no problem running ...
1
vote
1answer
20 views

Run a remote script/application in detached mode in Ansible

I am having trouble running a remote application startup script "detachedly" from an Ansible playbook. The script will run, but I can't get it to get/stay detached. I am probably doing something ...
-1
votes
0answers
22 views

Rename multiple xml files with the content inside it using windows batch only [closed]

Here is my requirement. I have multiple xml files in a directory and i need to rename these XML files with the content inside the XML File using windows batch scripting only. Example :: XMLFILE ...
-2
votes
0answers
7 views

Need a php script to connect my asterisk and fetch each incoming call Call ID, A number, B number? [closed]

Need a php script to connect my asterisk and fetch each incoming call Call ID, A number, B number? And all this settings export to a xml file to be able to read with another program?
0
votes
1answer
15 views

How to call in one line multiple processes in serie

If I run the following script with 3 lines: process1 process2 process3 then process2 will wait for process1 to start, and the same will happen with process3. How can I do the same in only one line ...
0
votes
2answers
24 views

Finding a file with vbs and the open the location folder

is there a way to make a script in vbs (or other) that search in each hard drive partition for a file and then opens the location folder of the file if the file was found? So if I want to find the ...
1
vote
0answers
12 views

How to burn multiple sets or groups of MP3s with multiple drives simultaneously

I have lots of MP3s that I need to burn into multiple audio CDs. I manually select 80 minutes or less of audio at a time, using multiple sessions of k3b with multiple CD-R drives to burn ...
0
votes
0answers
13 views

Need help on renaming of files in a remote server using batch file

I need to rename a file in Server B using a batch script. This is easy: rename \\servername\path\test.txt test.old On Server B, I have an application that will create a file daily at 9pm. Eg: Every ...
-2
votes
1answer
31 views

AHK Anagram solver [closed]

I'm trying to make a "real time" anagram solver, but the only way I can think of is gonna take AGES to make. for example with the word tree: ::reet::tree ::eret::tree ::eert::tree ::teer::tree ...
0
votes
1answer
47 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 ...
0
votes
0answers
9 views

Visual Studio: Display different files as one underneath each other (as “autopager” browser-extensions do for websites) / scroll through them

does any of you know a way or an addon to "scroll through" different files in VSs editor? When starting a project I sometimes have quite a lot of files each of them being quite small and me jumping ...
0
votes
0answers
19 views

Piped processes in upstart shell script continue running after stopping

I have an upstart script on my CentOS box that runs a shell script. The shell script runs a netcat command whose output is piped through a couple other commands and then ends up in a file. When I ...
-1
votes
0answers
32 views

Hostednetwork on win7

so, I have prepared a script that creates a hostednetwork on my laptop. it creates network itself, activates ICS but I don't know how to select my wireless network connection for sharing using that ...
0
votes
0answers
31 views

How to create a script to intelligently .zip numbered files?

I have a directory with a bunch of files with numbered file names (e.g., 002361). I'd like to write a script to regularly .zip them (or .rar, or .7z) based on their file names AND only update the ...
0
votes
1answer
47 views

Automate Update with script ( Flash, Java, Reader )

I'm deploying over 10-20 computers every week and have to update each computer manually. Is there a script that I could use that: Checks-Version, Downloads-New-Version, Updates-New-Version. I ...
1
vote
3answers
64 views

How can I run a Python 3 script?

I want to run a Python 3 script. I have looked in the official doc and FAQ, and they are the typical loss. I was looking for answers, I ended up with more questions. I have Windows and Linux. On ...
0
votes
0answers
10 views

How can a Nautilus script be run for an empty directory?

I have a Nautilus script that can create multiple directories at once using mkdir with the option -p. The script is effectively the following: directoryStructure="$(zenity --title "make directory ...
1
vote
1answer
52 views

Why does this script work as expected in 'curl', but not in the browser?

I have a script which when accessed with the HTTP protocol will send some data, pause for a few seconds, then send some more data, repeating until all the data is sent. When I access it in curl, it ...
0
votes
1answer
45 views

ahk script tweak for 2 instances

I’m trying to create two different hotkeys that launch two independent instances of an application. When the second one is open a “[2]” is added to the title of the Window, which is very useful to me. ...
0
votes
1answer
38 views

ahk WinMove not working in a faster machine

is it possible that in a faster machine AHK WinMove feature does not working and needs something else? I'm positive that the same script works in other slower computers, that means arrange my screens ...
0
votes
0answers
32 views

Run an interactive script with administrator privileges, before user login

Windows 7. I have a script which mount a TrueCrypt partition and share it across a LAN. Because this script must run with administrator (at least power user) privileges, I place it in gpedit.msc -> ...
1
vote
1answer
33 views

BASH Script: Why Do My Variables Not Work

I'm trying to use some script variables in a BASH script to my code more clear. However, for some reason, my variables are not being expanded/uses. Nothing simply happens when I use the variable to ...
1
vote
1answer
25 views

BinScope and ArgumentException: Illegal characters in path

I'm catching a System.ArgumentException: Illegal characters in path when trying to script BinScope from the command line. BinScope is an SDLC audit tool from Microsoft, and the full output is below. ...
0
votes
3answers
38 views

Automating User Input / KeyStroke For a Program

I've read about this problem on related posts found here at Superuser; however, my issue is slightly different and potentially difficult to solve: I am working with a phylogenetic program called ...
0
votes
0answers
20 views

Allow Tampermonkey scripts in ScriptSafe in Chrome

I am using Google Chrome with Tampermonkey and ScriptSafe extensions. ScriptSafe blocks all the scrpts installed in Tampermonkey. I am wondering if there is anyway to make ScriptSafe to allow ...
1
vote
1answer
27 views

How can I create a script to randomly play an audio file in a designated folder?

I'm attempting to use VoiceAttack to give a voice command to play a song. I'm looking to create a script to randomly play a .mp3 file from a specific folder. I'm on Windows 8.1 My scripting ...
-2
votes
3answers
434 views

Bash- How to make a Linux script file human unreadable? [closed]

I have seen many Linux scripts that are executable but cannot be read as they are in binary format. My question is how I can make my script not readable/binary format?
0
votes
0answers
41 views

How can I run a Rails server when I start Ubuntu?

I need to run this command cd /my/app/path&&rails s every time I start my Ubuntu virtual machine. I've tried to add it to /etc/rc.local file and also in /etc/init.d/rc.local but it ...
0
votes
1answer
40 views

Powershell script to open random video

I was looking for a way to open random video file in my folder which has about 400 videos (20 videos in 20 subfolders). I found a powershell script and managed it to work, but every time I run it I ...
0
votes
1answer
30 views

Use nbtstat to return list of host names in IP range?

In Windows 7 I'm using the command for /l %i in (1,1,254) do nbtstat -a xxx.xxx.xxx.%i to return host names based on a given IP range. But the output is so long and unfriendly. How could I improve ...
4
votes
1answer
64 views

Can I create a “file” that, when opened, actually gives the output of a command?

I've found myself in a couple of situations now where I'd like to have such a "file" that essentially runs a script whenever it's "opened", allowing me to "read" it's output. For example, I might ...
0
votes
1answer
39 views

Script for a batch file that runs a program for a specific period of time

I want a script for a batch file that makes a program run every 10 minutes for 5 seconds each time. In these 5 seconds, the program must be running on top of all the other windows, but out of focus so ...
0
votes
1answer
25 views

How can I run this Perl script in Windows?

I am trying to run a PERL script for the first time. Here it is : http://search.cpan.org/dist/HTML-ExtractMain/lib/HTML/ExtractMain.pm I have never used or worked with PERL before and I am finding ...
0
votes
0answers
14 views

How to check a range of zipped files

I am looking for any ideas how to check for particular entry in given range of time in logs. If I am checking logs just from one day, I can do the following: more /var/logs/log.08.12.log | grep ...
-3
votes
1answer
40 views

How to search a string and extract another string pattern from a text file using windows batch script

Consider out.txt file have the following format Display Variable; ID NAME value ===*==========*================ 201 Variavle 07Dec2014 Display Variable12; ID NAME value ...
1
vote
2answers
51 views

Is there a Windows script to disable & enable the Intel GPU?

So I've bought a new laptop with the Intel 4400 GPU. Which I'm trying to connect to an external monitor with hdmi, only the monitor gives me a no signal error. So I went on Google and found a ...
1
vote
1answer
23 views

Script to find files with length longer than 80 characters

I have around 20 C++ files in my folder that I want to check for line length but I don't want to manually go through all of them. Is there any script/program in Linux/Windows that I can use to check ...
0
votes
0answers
81 views

FireFox's NoScript equivalent for IE 11 in Windows 8.1

For my IE 11 in Windows 8, I need a tool I can use to disable/enable JavaScripts on various web pages dynamically when I open a web page - something similar to what the NoScript plugin for FireFox ...
-2
votes
2answers
49 views

How can I create a script in Unix with following requirements? [closed]

A script named /root/backup.sh on w01 that will backup the contents of /home The script will: Create a tar archive named /share/<YYYY><MM><DD>_w01.tar where YYYY represents the ...
0
votes
0answers
19 views

Running script after debian install

I would like to customize debian install to run a script (which will download and install asterisk, mariadb, java 8, etc...) and do some other wirings automatically. In the debian customization of ...
0
votes
0answers
52 views

how to bring network up at boot time in ubuntu 14.0.4

I am write one shell script which execute on every boot, Script is as below. service lsyncd stop /etc/init.d/networking force-reload ifconfig eth0 > /home/sachin/status.txt old="0.0.0.0"; ...
0
votes
0answers
36 views

Support with Python-docx 0.7.4 or with a script removing spaces in filename and replacing numbers [Mac]

I have written a Python program walking through a folder and opening some ".docx" files using the python-docx 0.7.(http://python-docx.readthedocs.org/en/latest/index.html) library. Now i have some ...
2
votes
0answers
68 views

Script to put Windows 8 to sleep and wake up in 5 seconds

How can I put Windows 8 to sleep(standby) and then wake up in 5 seconds? I know I can use psshutdown -d to sleep, but then how can it wake up on a timer?
0
votes
0answers
15 views

finding out when some file is released by the process, Windows

I was reading about of know what process (or PID) in Windows is using some file with Handle or Process Explorer. My doubt is when?, not who? I want to know when the file is released, and I can ...
0
votes
2answers
29 views

How to view the calling script on Linux [closed]

I am trying to write a script to help with computer security. I am trying to look for open ports, find the PID, and find what called it. I have it working, where my output looks something like this: ...
0
votes
0answers
63 views

Detect touch hardware using VBScript

I am looking for a way to detect installed touch hardware using VBScript. My script doesn't work. This script is intended to look for a pointing device and echo accordingly. On Error Resume ...
0
votes
2answers
25 views

Move files and folders to a subfolder

Hi I have a directory where I have many subfolders. In each subfolder, I have a folder called TEST along with other folders and files. Subfolder1>Test, other folders, files Subfolder2>Test, other ...
0
votes
0answers
50 views

Displayresolution + clone mode in Windows 8.1 in script at startup?

I want to force a dualscreen system ( 1: Monitor, 2: Projector) to a) set the dual screen clone mode for monitor and projector. b) set the screen resolution of both to 1280x800 This needs to be ...
1
vote
0answers
93 views

Automatically run executable files with third party program/script in Windows

It is possible to launch an exe file using a third party program through the context menu. My problem is that an exe file might be triggered by a script or by another application on which I don't ...