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)

2
votes
3answers
2k views

How to test stability of wireless router

I had a wireless router that would intermittently drop connections, so I had switched to using a different router. I have since updated the firmware on the problematic router. Is there an easy way to ...
1
vote
1answer
9 views

Outlook 2013 rule or script to automatically set follow-up for the last day of the month?

Every month I receive an e-mail somewhere around the 15th. I would like to create a rule that automatically sets a follow-up reminder for the 30th of the month. I don't see any way to do that with any ...
0
votes
0answers
17 views

Is it possible to script Windows GPO configuration tasks?

I have a login script on my domain that is configured through Group Policy Management (Start -> Administrative Tools -> Group Policy Management), as per this screenshot, logged on to a Windows 7 ...
1
vote
0answers
9 views

Run a ppsx slideshow before explorer.exe loaded when PC startup using login script

My company would like to broadcast some message to all user. They would like to show a message on the screen when user's windows startup. We prepare a ppsx slideshow file for the broadcast. I am ...
33
votes
7answers
46k views
0
votes
1answer
3k views

List Mapped Drives of All Users

I often have to replicate the mapping of drives of one machine to another. While I know how to easily output the data for the CURRENT user I have not found a way of doing this for others who are not ...
0
votes
1answer
22 views

Getting a URL from search results based on a query, and updating in a web page

Trying to find a way to do this process on a daily or even hourly basis: Go to Amazon and search for "item" Find a specific product in the search results (it will always have the same title) Capture ...
5
votes
3answers
5k views

How to download this webpage with Wget?

I want to download the webpage http://forum.ubuntu-it.org/, but it requires a username and password. So I have used this: wget --save-cookies cookies.txt --post-data ...
0
votes
1answer
18 views

How to use batch file to do X if it's ran on a laptop?

How do I write a batch file to do different things based on whether it is ran on a desktop vs. laptop? E.g. if on desktop, install x. If on laptop, skip x and install y instead. Edit: Windows 7 ...
1
vote
1answer
9k 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 ...
0
votes
1answer
27 views

PrimoPDF script error - twitter.com

When running PrimoPDF, I get the following script error: An error has occurred in the script on this page. Line: 0 Char: 0 Error: Script error Code: 0 URL: http://platform.twitter.com/widgets.js If ...
2
votes
2answers
1k views

Windows command prompt freezing randomly

My Windows command prompt will randomly freeze up when running an Ant script. The script has no spots in it where it waits for user input. Also, when it freezes I can unfreeze it by focusing the ...
3
votes
1answer
4k views

How to add a network (IP) printer using command line or a script?

My company will be deploying a bunch of laptops that will be used during a seminar for people to sign up for services on our website. At the end of the signup process they will need to print out a ...
0
votes
3answers
4k views

How to Find User Name and IP address of users Logged on a Remote System

How can I find user name(of the local machine) of the last logged on user on a remote system. Is there any command or script we can use? I am able to capture IP address of the local machine of the ...
0
votes
1answer
18 views

How to set Photoshop File Associations via command line

I am trying to re-associate .psd files with Photoshop CS6 via command line. I feel like this should work. But it is not. assoc .psd=Photoshop.Image.13 ftype Photoshop.Image.13="C:\Program ...
1
vote
2answers
1k views

Is it possible to autocrop black borders of a video with ffmpeg?

I think it has a "blackness" video filter, which can determine if a picture sequence is black. Maybe it also has a filter to determine crop values automatically to remove black borders form edges of a ...
0
votes
1answer
32 views

How can I stop a PowerShell script from running?

I have (so far unsuccessfully) tried to install SharePoint on my Windows 7/8.1 laptop. It fails when installing a particular prerequisite (Windows Identification something-or-other). But that's not ...
0
votes
1answer
14 views

How to set a specific script on NoScript?

I'm on a page where you can't copy anything, and if I turn off scripting permissions, it lets me copy, but if I don't, it doesn't, and I can't do anything else that I need to do. Is there any way to ...
1
vote
1answer
7k views

Batch file script for Enable & disable the “use automatic Configuration Script”

My intention is to create a .bat file that toggles the check box of "use automatic Configuration Script" in Internet Settings. The following is my script @echo OFF setlocal ENABLEEXTENSIONS set ...
0
votes
1answer
26 views

Simple autoit script to toggle Caps Lock on and off in Win7

I am looking for a simple autoit script that will toggle the Caps-Lock and/or Num-Lock keys on and off to stop my Windows 7 laptop going to the screensaver and locking. These options are grayed out ...
0
votes
1answer
28 views

How to remove network-manager access from LightDM?

I'm running Ubuntu 14.04. I didn't like how LightDM gave access to network manager before anyone has actually logged in... So I added 'network-manager stop' to rc.local. It works just like how I ...
5
votes
7answers
2k views

Dos and/or Windows versions of Unix SCRIPT command

Back in university, when we had to submit an assignment in CS, we would have to perform a series of steps including running script, date, whoami, etc., and then running our program. The script ...
1
vote
1answer
25 views

Possible to automate setting of Internet Explorer settings?

Is it possible to automate the setting of some Internet Explorer settings through some sort of self-contained script or program (and not something like Group Policy or domain controlling)? In ...
1
vote
4answers
115 views

Autodelete/autorename mp3s?

I need a way that I can automatically scan my whole drive and rename my *.mp3 to *.3pm or delete them. How I could do that?
11
votes
4answers
3k views

How to set a Linux Ditribution to self-destruct (to wipe everything from the system partition) via a script

I shall be helping to facilitate a course that uses licensed software. The software is somewhat expensive and allows only a limited number of concurrent installations, so what I'll do is to install ...
0
votes
0answers
14 views

Configure a script for specific batch processing in VirtualDub

I am trying to figure out a way to batch process these files. http://i.imgur.com/CRBUCMU.png and, as you can see in the picture, a .wav file with the name of the archives. The thing is, each video ...
0
votes
1answer
21 views

Exit bash script when curl gets a non 200 HTTP status

I have a bash script setup to perform a few curl requests for currency in EUR INR JPY do curl -i --data '{"currency": "'$currency'"}' -H "Accept: application/json" -H "Content-Type: ...
0
votes
1answer
64 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
3k views

Local group policy logon startup script not executing

This is for Windows 7 I have a .bat and .vbs file in a folder. The .bat runs the .vbs script. In the Local Policy Group editor, under Windows Settings/Scripts I added a reference to the .bat file in ...
1
vote
1answer
20 views

Is it possible to perform Windows boot-time actions before paging is enabled?

I would like to perform some actions at Windows boot time before paging is enabled. I know I can run startup scripts with Task Scheduler or with group policy startup scripts. My question is whether ...
0
votes
0answers
17 views

gmail: automatically edit subject line to include something from body, like paypal transaction id [migrated]

Here is the problem, and you can search and find lots of people who complain about it: Let's say you sell something (e.g. run a small business selling on the internet) and you use PayPal to accept ...
0
votes
1answer
30 views

integer expression expected error when trying to run a command on each line

I am trying to essentially run a command on each line of a file. Below is what I have so far. I want to be able to take each line, take the last column from it, run a command on the integer and if it ...
1
vote
1answer
6k views

Calling PowerShell functions in another scripts

I have a script with a number of functions (not just functions but also other code). I would like to create another script that uses one of the functions in the main script. Here is a sample of what ...
1
vote
2answers
3k views

How to auto commit to my git repository using cron?

I look into a lot of answers about this subject, but something is wrong here, let me explain. I create this script, to make my cron cleaner :) #!/bin/bash cd ...
-1
votes
0answers
24 views

Come back to script main menu after command execution ends

I'm working on a simple task automation script and this is what I have done: #!/usr/bin/env bash PS3='Please enter your choice: ' options=("Prepare environment" "Create new group" "Add users to ...
2
votes
1answer
31 views

How to remove substring in Powershell script

This script is almost what I need: $input_path = 'C:\Common' $output_file = 'C:\Common\extracted.txt' $regex = 'assets' Get-ChildItem -Path $input_path -Filter *.txt | Select-String -Pattern $regex ...
0
votes
1answer
5k views

How to make PuTTY's font automatically change color (while connected to a Linux server) as I did with Windows cmd.exe using a background batch script?

I was able to create a Windows Command Prompt that automatically changes its text color on a white background every ~1.5 seconds, thanks to the help of @dbenham and @Woody. I also use PuTTY every day, ...
0
votes
1answer
23 views

Prompt for values until press ENTER key with empty value

I'm working in a bash script for automatize some tasks. This is what I have done until now: #!/usr/bin/env bash PS3='Please enter your choice: ' options=("Create new group" "Add users to group" ...
14
votes
4answers
28k views

Remotely run script on Unix, get output locally?

I need to run a (Tcl, or whatever) script on a remote Unix machine, from a (local) Windows command shell, and I want the stdout/stderr of the script to show up in the Windows CLI. The exit code would ...
0
votes
0answers
5 views

Reconnecting a virtual keyboard

Background: At work, I use a PC laptop connected to a docking station. On the docking station, I have plugged in my Logitech G510S gaming keyboard (I utilize the hell out of the extra G keys for ...
0
votes
1answer
41 views

bash command in python not working

I would like to run a bash command from python. My code: process = subprocess.Popen(('ifconfig -s'), stdout=subprocess.PIPE, shell=True) output = process.communicate()[0] lcd.message(output) sleep(2) ...
3
votes
1answer
3k views

Install a Teamviewer host silently with custom password

Our company has the custom Teamviewer hosts that we can run silently with the /S switch. The issue is that we can't connect due to it not setting a password that we know. Does anyone have any thoughts ...
6
votes
2answers
2k views

How can I tell if OS X is connected to a VPN network from the command line?

How can I tell if OS X is connected to a VPN network from the command line? By running ifconfig without any arguments when I am connected, I see that there is a utun0 interface which appears to be ...
3
votes
2answers
3k views

Unable to remove network printers via script in Windows 7

I've tried removing several network printers via rundll32 printui.dll, PrintUIEntry /dn /dd /q /n \\SERVER\PRINTER also tried the /dl but nada and WSHNetwork.RemovePrinterConnection ...
3
votes
0answers
666 views

Python and Google Sketchup

Is there any way of scripting Google Sketchup using Python rather than Ruby? I have had a look at SuPy but unforturnately I'm working with Python 2.6 rather than Python 2.5 which SuPy appears to ...
0
votes
2answers
23 views

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

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 ...
2
votes
1answer
112 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 ...
0
votes
2answers
34 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 ...
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 ...
1
vote
0answers
15 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 ...