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)

0
votes
0answers
24 views

Test availability of a web page

We have a page that proposes some administrative appointements that are almost impossible to have, because of the irregular and unconstant updates from the site administrators. Once these ...
0
votes
2answers
26 views

Script to disable “Show Characters” in the WIFI network properties

I want to know if it exist a script to disable the "Show Characters" check box in the WIFI network properties. I know it is possible to do it manually, but given that we have a lot of computer to ...
0
votes
1answer
20 views

MEncoder & Youtube-upload Scripts retry if they fail

I have a script that encodes a video every day (cron job) and this video is uploaded to youtube just after its creation. Although sometimes these scripts fail. How can i make the script to retry ...
0
votes
3answers
3k 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
3k views

foobar2000 Columns UI Column Style Script

In the foobar2000 component Columns UI, there's an option to script the display appearance of each column. I'm having a hard time finding the documentation on how to change the font/color of a ...
1
vote
1answer
5k 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 ...
7
votes
7answers
5k views

It is possible to make autocompletion in Powershell work like in bash?

I love Powershell, but coming from a Linux background there is a few things that is really bugging me. Like for example how the default auto completion works. For example: Get-PS expands to ...
3
votes
1answer
3k 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 ...
3
votes
2answers
3k views

OSX 'open with' bash script

I've got a bash script, potentially many of them in fact, which I'd like to be able to open files in OSX's finder with. It's a really, really simple concept but for some reason bash scripts are ...
0
votes
0answers
6 views

Equivalent of apt urgency flag in yum changelog?

I develop a cross distribution package manager, and i want to get the urgency of all updates on APT et YUM based distributions. With APT, it's simple, I have to fetch the changelog with apt-get ...
0
votes
1answer
44 views

Using Get-ChildItem but only look at the 2nd level down

This is probably really simple but I can't seem to find the answer. I'm looking for a way to only look in the second level down of a folder for a file. i.e. C:\Data C:\Data\Level1 ...
0
votes
0answers
9 views

Adding more than one image as album art to mp3 via command line

I want to add two images (front and back cover) to my converted mp3s. At this time I convert all my WAVs with lame, then I convert the ID3 tag version from 2.3 to 2.4 via eyeD3 and then I will add two ...
0
votes
1answer
67 views

Windows script to toggle automatic configuration script checkbox without removing any existing string value

I'm trying to create a bat file to toggle the automatic configuration script checkbox in Internet Explorer (see red box in screenshot)...but without removing any existing value in the related textbox ...
1
vote
2answers
1k views

How to change color of Conky text via file/script?

I have a file which contains one word, "green", "yellow" or "red" (this file is updated via a cron job. I would like to use that color to display text in Conky. The actual text would stay the same, ...
0
votes
1answer
28 views

Running at close to 100 cpu

So I have a python script that is really pushing the limits on concurrency. When the script is running, the cpu load of my computer is close to 100% at all times. Can this harm my computer? To be ...
13
votes
5answers
29k views

Change DNS with script

I need to frequently change the DNS server address, and for now I do it by opening 'network and sharing center' - 'local area connection' - properties - ipv4 - and then type the DNS numbers. Is there ...
1
vote
1answer
39 views

Script to scan through several directories, look for a file and copy it to a new name.

Hopefully someone can help me out here. I need to clean up some data on a regular interval but short of doing it manually I haven't come up with a good solution. Here is the flow that I go through ...
1
vote
1answer
3k 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 ...
4
votes
2answers
47 views

How to invoke actions from an executable in PowerShell?

I am using Powershell 2.0 on Windows 7 SP1, but any answers covering versions 1.0-4.0 would be nice. I know that this command opens Paint via PowerShell: & "C:\Windows\system32\mspaint.exe" ...
0
votes
1answer
2k 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 ...
0
votes
0answers
7 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 ...
2
votes
1answer
33 views

Creating directory name from file name - strip out non alpha numeric characters and make lower case

I am able to create a directory based on the name of a file. I am running into a wall if the text has spaces or non alpha numeric characters. I would like to strip out those non alpha numeric ...
3
votes
1answer
60 views

Float integer division and setting variable value

I am currently learning the world of bash scripting. I am aware that bash by itself does not do arithmetic with floating integers. I have done some research and have found that there are tools that ...
1
vote
1answer
822 views

How to automate Inkscape export?

Currently I do this in a BAT file: Inkscape.exe --file "some.svg" --export-png "some_64.png" --export-width 64 Inkscape.exe --file "some.svg" --export-png "some_96.png" --export-width 96 Inkscape.exe ...
-1
votes
0answers
8 views

automating synchronized activities in 2 programs with a script

I've never posted here and don't know much at all about Windows programming. I am in an experimental lab where we have a computer running 2 software applications (1) Andor Solis - controls an EM-CCD ...
1
vote
3answers
62 views

What are some good techniques to make your Windows installation something you can throw away and rebuild quickly and easily? [closed]

I don't want to care about my C:\ drive. I want to be able to casually reinstall Windows whenever I want, and be up and running quickly, with the programs, configuration, and data that I like. This ...
0
votes
1answer
3k 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, ...
1
vote
1answer
392 views

scriptable internet “speed” test (ping and bandwidth) for Windows

I'm familiar with manual internet speed testing using sites like speedtest.net. I'd like to set something up to automatically run a speed test once per hour 24x7 (for example) on a Windows machine. ...
3
votes
4answers
20k views

How to disable ipv6 on a specific interface in linux?

Could someone tell me how to disable ipv6 auto-config on a specific network interface in CentOS? The current situation is: A PC has two network adapters eth0 and eth1 that are connecting to the same ...
7
votes
3answers
15k views

PHP script can't run bash script. sh: Permission denied

I'm trying to exec a .sh script from PHP, however it is not executing. I checked the error logs, and I'm getting the 'sh: Permission denied' error. I checked under which user php is being run, and ...
0
votes
2answers
27 views

my first linux script won't run

I am trying to write my first linux script (running on chromebook in devmode). Here it is: #!/bin/bash echo 'hello world' This is stored in ~/Downloads/app/run. When I try to run it I get the ...
2
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 ...
1
vote
2answers
193 views

How to sync specific files (not folders) on Windows 7

I need to copy frequently 2-3 files from my current program build to several other folders. How can I do this? Most free autosync solutions like SyncToy work only on folders, not files. Using .bat ...
3
votes
1answer
2k views

How to set a default file extension for a specific download?

I'm using chrome web browser and when I download a file it saves the file with .jsp extension. Everytime I have to change the extension to my desired extension (i.e. .ica). Just setting the default ...
8
votes
4answers
52k views

How do I set the desktop background on Windows from a script?

On X Windows I had a cool 'silent-alarm" reminder script that would change my root window (background) color to solid red, just for a few seconds a few moments before changing it back. Is there a way ...
0
votes
2answers
2k views

Automatically save documents to a specific folder

I'm doing an internship at a nonprofit organization. There is a share folder setup for employees to save their work to. Unfortunately, many of them forget to save to the share and instead save to ...
1
vote
1answer
186 views

Changing desktop background depending on the time of day via script Windows 8.1

Hello it is my first time using this website so I hope I am not asking the question in wrong format. Anyways, as the title says I have a similar problem to a thread that was answered a while ago that ...
2
votes
1answer
4k views

Outlook 2010 - using a VBA script in a rule

I was following the directions in a great post when I got to the step for selecting the name of the script to run. I have VB code in ThisOutlookSession, but for some reason, the name of the procedure ...
0
votes
0answers
26 views

MSI Cooler Boost Auto Enable

I have an MSI GE60 Apache-469 that has a button to turn on a "Cooler Boost" mode. This basically cranks the RPMs of the fan up to the max, cooling the laptop considerably. I would like to ...
2
votes
2answers
446 views

Plink, backspace and bell

I'm connecting to a remote SSH linux server from a windows host using plink. This works correctly, I setup a private/public key and can authenticate without any problem. Thing is, when using plink ...
0
votes
0answers
26 views

Maintain screen session when executing shell script on boot

On Ubuntu 14.04, I have a crontab entry set to run on reboot: @reboot /root/start_server.sh And here's start_server.sh: screen -dmS server bash -c "cd server ; ./run.sh" When the system starts ...
1
vote
2answers
2k 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 ...
0
votes
3answers
358 views

How to display “Please Wait” while GPO startup script is running?

I have a GPO that calls a batch file as a startup script (Computer Configuration -> Policies -> Windows Settings -> Scripts -> Startup) which takes a moment to finish what it's supposed to ...
0
votes
0answers
21 views

Change State of Windows Update- Local Group Policy Editor without UI?

In windows server 2012,for this manual step how can i do from script, start>run>gpedit.msc>administrative Components>Windows>Windows update In that 1) Do not Display " Install ...
1
vote
2answers
138 views

Writing only first line of the command output in Windows cmd to a file

I want to modify the command somecommand >> file1.txt in a way that only the first line of the command output be saved to the file. How is it possible, what script is needed?
1
vote
1answer
3k 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
3answers
21k views

Temporarily Disable Symantec Endpoint Protection?

I would like to temporarily disable Symantec Endpoint Protection. I know that this is done by right clicking the tray icon in the Windows, and then clicking enable/disable. What I would like to do ...
1
vote
2answers
2k views

How do I check if a program's instance is running or not, before running that program?

I am looking for a software (could be as a BAT script) that could check if a program's instance is running or not, before running that program. And if the software / script detects that the program is ...
0
votes
1answer
21 views

How can I automate this task in Notepad++

I've a text file with around 200+ table names. Sample like this T_BCPCOMITEE_EA4 T_BCPEMERSIT_EA4 T_BCPROLE_EA4 T_BDR_AG_EA4 T_BDR_CRITERIA_EA4 I need to take the table name and add a select ...
0
votes
1answer
24 views

Copy (to clipboard) from table (list) in a program on Windows

I'm using a program (Comsol) that computes a formula entered into one cell in a table, and places the result into another cell. The first cell is editable, and I can copy from it to clipboard with ...