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
19 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
53 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
310 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
75 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
201 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
2answers
403 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
1answer
913 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
222 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
2k 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
157 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
126 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
31 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
152 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
27 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
456 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
62 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
271 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
1k 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
25 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 ...
1
vote
1answer
157 views

How to use linux bash “sort” command in a portable script?

I am writing a bash script and I want to make it portable, to have the same results in the other computers. From this question I learned the system settings, like language settings and possibly other ...
0
votes
2answers
222 views

CMD Line executable of PUTTY calling a script

I have been trying to automate a telnet process using a script of sorts. Whenever I get a hint, it points to PUTTY. I have downloaded PUTTY and the derivatives thereof, (plink.exe) to get my script ...
3
votes
1answer
119 views

How can I automate some simple steps within the GIMP?

I'm trying to use GIMP to automate 3 actions upon a user defined selection in the currently active image - Grow selection by 2 Add border to selection (width of 2, with feathered edges) Fill the ...
0
votes
0answers
35 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
439 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
103 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
0answers
14 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
406 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
256 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
1answer
37 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 ...
4
votes
2answers
200 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
21 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
94 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
1k 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
3answers
87 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
2answers
111 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 ...
0
votes
0answers
189 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 ...
0
votes
0answers
66 views

Maintain screen session when executing shell script on boot

Solved: I solved this problem by introducing a delay before executing the script: @reboot sleep 60; /root/start_server.sh On Ubuntu 14.04, I have a crontab entry set to run on reboot: @reboot ...
1
vote
0answers
124 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
758 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?
0
votes
1answer
58 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
132 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 ...
1
vote
1answer
87 views

Script to reference another file first

Hi I have a script and in it I need to get the hostnames from IPs that the script generates. The script will generate those IPs into 1 neat file with only 1 column. It is literally just IP address (1 ...
0
votes
2answers
706 views

How to run an infinite loop program on startup on a raspberry pi without halting boot up

I have a shell script: #!/bin/bash while sudo /home/pi/MyCode; do :; done echo Error with MyCode which runs a program in an infinite loop. I want to set up the shell script to run at start-up ...
0
votes
2answers
432 views

How do I concatenate strings from a list in a bash script?

As an example: List="A B C D" for I in $List do OUT=$OUT" -$I" done When I run this the result is: " -A -B -C -D" but want it to be: "-A -B -C -D" How do I concatenate without the ...
2
votes
2answers
254 views

Recursively fixing image file extensions in Linux

I have a bunch of image files from misnamed scans/faxes I need to fix for our Linux users. It turns out we have a bunch of scans that are PNG files that are labled as *.jpg visa versa. Under Windows ...
0
votes
0answers
17 views

Exporting paragraph and character styles to jsx

After setting them up in InDesign, how can I export the styles to jsx so I can use them in scripts? Same for master pages, swatches etc. I don't want to have to code them by hand? Would an ...
2
votes
2answers
7k views

Powershell script to list scheduled tasks on remote systems

I want to write a PowerShell script that lists all Scheduled Tasks on remote systems, and includes the user account which will be used to run each task. The local system is running Windows 7, with ...
0
votes
0answers
38 views

Trap a program that has no command line output

I am using the CrashPlan backup tool to backup my home file server. I use an ssh tunnel to interact with the GUI on the remote machine (as detailed here). Currently, I have an alias in my zshrc that ...
0
votes
2answers
38 views

followup: why are shebang files not suid-able?

followup question to http://unix.stackexchange.com/questions/364/allow-setuid-on-shell-scripts . there is a very good answer by Gilles. alas, I do not understand it. nothing described there seems ...
0
votes
0answers
59 views

mac os x wireless association to wpa2-enterprise SSID from the command line

I have a script that connects to a bunch of macbook laptops and makes them associate to a certain SSID. The command that I run is networksetup -setairportnetwork en0 SSID PASSWORD. However If I have a ...