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
vote
1answer
17 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
346 views

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

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?
-2
votes
0answers
17 views

Windows 7 NTUSER.DAT user profile issue [closed]

Recently i was working on a profile deletion script as well as found a software that deletes profile by the name Delprof2.exe. I know its not a microsoft product but i need help in understanding few ...
0
votes
0answers
22 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
0answers
28 views

Suppress tooltips on a specific web page? [closed]

At this website: https://www.youtube.com/user/RussiaToday, when hovering the mouse over the list of video thumbnails, a tooltip appears which says "This will open in a new window". This tooltip is ...
0
votes
1answer
30 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
11 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 ...
3
votes
0answers
41 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 ...
-1
votes
1answer
30 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
12 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
29 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
37 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
17 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
22 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
48 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
15 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
29 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
20 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
62 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
27 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
47 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
22 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
30 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
68 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 ...
1
vote
2answers
26 views

Can I automatically restart a pc with a prompt to restart or postpone

What can I do so that I can have a pc restart at a particular time each night and it prompts the user to continue to restart or postpone with a specific time frame?
0
votes
0answers
35 views

Create empty MySQL database via batch file

I have read several answers here but can't see to get the syntax right. The task is to get a batch file that inputs a variable (db) and uses that variable to create an empty MySQL database. My ...
0
votes
1answer
42 views

Shell script force stop without waiting for the exit code

I have written a shell script checklick.sh on my CentOS box with the following content: #!/bin/sh # # description: check link through rtmpdump # . /etc/rc.d/init.d/functions ...
0
votes
0answers
30 views

How can I make Outlook auto redirect emails to email address in body of email?

I would like to redirect a message received from a specific email to another email address. The email address to which the message will be redirected to will never be the same. I have looked through ...
0
votes
1answer
25 views

How can i download .exe file from web and run it automatic

I need to create some script (maybe .bat/.vbs or something else) or something else that will download and open the file on double-click. Can you say how can i do this? Example: I double-click on file ...
0
votes
0answers
18 views

How can I make sure program A quits/can not be started if program B is started/is tried started?

I want to be sure that a program A can not run at the same time as program B as they can interfere with each other. I would preferably make a windows script that I can automatically launch at system ...
0
votes
0answers
25 views

Windows Script Host

My batch file runs on my PC, but when I run it on the server, it calls the Windows Script Host (WSH) which seems to hang the process. There are no settings for the WSH. when I kill the WSH my batch ...
0
votes
1answer
70 views

Script to download files from SSH Server

Is it possible to create a script that follow the same commands FileZilla executes when connecting to an ssh server? When I login manually using FileZilla I get the following message for the ...
0
votes
2answers
65 views

Parse out specific parameter from python script

I have a chage output that I formatted myself called accounts. It basically has the name of the user listed as a section and then the information below it (which are the parameters). I would like to ...
3
votes
1answer
64 views

Map a network drive to be used by a service

I am trying to map a network drive (the WD My Cloud HDD) to be used by a service (CrashPlan backup software) in Windows 8, something that I have achieved with this script: net use X: ...
3
votes
1answer
110 views

Restart-Computer and hold script

I'm running a Powershell script that requires a reboot in the middle of the script. After the reboot, the script is executing some commands (that can't be executed before the reboot!). I'm rebooting ...
4
votes
0answers
114 views

Unlock PC with Windows Task Scheduler

I need to set up a Scheduled Task to unlock Windows 7 PC at specific time. And second Task, to lock at other specific time. Is this possible by cmd.exe command, or I need to use some third party ...
0
votes
2answers
56 views

How can I automate the deletion of all files in a specific folder on a daily basis?

I have a media center and I would like to set up a script/automation that deletes all files in a specific folder once a day. I know that I can do this in the Microsoft Task Scheduler with a .bat ...
2
votes
1answer
345 views

Batch delete temporary Windows files (system, browsers, cache, etc) for all users

Is anyone in this community using a particular technique to achieve batch deletion of temporary data (such as Windows temp folders, browsers cache, etc) for all users? The tricky part seems to be: ...
0
votes
2answers
61 views

Executing Commands In Parallel That Never Finish

I'm attempting to run a few commands that never finish. These commands watch a directory and update files when they change. The idea is that I need multiple folders watched by different tools, able ...
0
votes
1answer
44 views

Upload image links placed in text file to imgur

Is there any way to upload images to imgur account when image links are placed in text file or copied in clipboard . Also give output something like this for all files . Platform - Windows 7 . Can ...
1
vote
0answers
22 views

How to control the PFE Mailprinter?

i have here a PFE Mailprinter. It is a device that takes printed documents from a printer (in this case the Koycera Ecosys FS-3750), folds it the letter-way and puts it in an envelope. The problem: ...
2
votes
1answer
45 views

Removing AD Group members according to their memberships to certain groups in the same OU

Our AD groups for Websense filtering has been set up with very little flexibility for policy management. There are only two groups for "Permit all" web browsing category. Now I need to create over 20 ...
0
votes
0answers
15 views

How can I Embed my password with script

I have a requirement that I must run a script(with administratiev priviledge) during one of my Guest user startup.But I dont want to prompt my user for any password.In my case I'm ok with leaving my ...
3
votes
4answers
366 views

On Linux or Windows, how do I find the path for all mp3s that are the only mp3 in that directory?

I have a Music folder and the contents look like this: Music     -ArtistA ...
0
votes
0answers
36 views

CMD - Script for checking machine-type automatically

I work at a school and a lot of my work consists of updating, configuring and reformatting computers. I have created a script to do most of the work, but among other things, Ii still have to choose ...
0
votes
2answers
64 views

Batch file, script or shortcut to delete the most recent file in a specified folder

anyone know how to make a batch file or script or some other simple thing like a shortcut that calls some exe to do the following: I want to click on something (batch file, script or shortcut) that ...
0
votes
2answers
180 views

Update a sqlite database while select into a while loop

There is a bash script that will do "some magic"™ to files which will be referenced to a sqlite database and after doing "some magic"™ the database should be updated. Here are the simplified code ...
0
votes
0answers
17 views

Script output from Curses program like mtop

I'm trying to write some automated scripts to store things like cpu usage etc. In 'top' there is a batch mode, so I can output this fine. In a program like mtop, where it uses 'Curses' and no batch ...