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
7 views

Creating an account creation script to create new users in Windows Server 2008

I need to be able to make an account creation script that will create a new user in the Domain Users group, set its password, roaming profile, and login script. The input will be first name, last ...
0
votes
0answers
11 views

Get image for each letter in font

Is there an automated way to get an image file for every letter inside a font on a Windows 8.1 Pro machine? I have searched for a while but I could not find anything meaningful.
0
votes
0answers
9 views

Script to Open Quicken and update Accounts

I am trying to write a script that will open the Quicken Program and then execute a Shit Command U.. when it finishes updated the accounts, it will close the application. This is what I have. tell ...
0
votes
0answers
11 views

url string stream editing on the fly?

I have a problem with an unnamed 3rd party application (appA). It has the ability to dynamically link to other applications through a dynamic url link you can setup. I'm trying to integrate with ...
-3
votes
0answers
14 views

Automatically move Outlook message to the specific folder when click on reply to all

I want if i recieved any outlook message from aspecific person. Firstly It comes directly in my inbox folder. But when i reply to the same message, then a script runs save that particular old message ...
0
votes
1answer
28 views

How do I build a script shell to send cmd via telnet and log only results?

I would like to make a shell script that can call a range of IPs via telnet, to send a command, and write the result to a file.
0
votes
1answer
15 views

Looking to kill frmweb processes with no jobs

So I am trying to figure out a way to kill Oracle frmweb processes that are doing nothing when load begins to get too high. So far, I have found this command: ps -elf | head -1; ps -elf | awk '{if ...
1
vote
2answers
48 views

BAT file: Delete all files in directory older than 5 days except one file

I have a directory with many temp files. All files older than 5 days can be deleted except one file 'DoNotDelete.txt'. Therefore I should add an extra argument to my current script: forfiles /p ...
0
votes
0answers
6 views

Automate BTWiFi login using a FON account

I'm a user of British Telecom's Wifi hotspot. The service is good, but after some time of inactivity it logs me off and asks for user name and password. It's really annoying in the long run. Did ...
0
votes
0answers
11 views

Filemaker mail script text with fields and functions

I trying to send an e-mail with the filemaker 10 "send mail" script template. Is it possible to define in the message box text with fields and functions? Example: Hello Richard This is a text List ...
0
votes
1answer
26 views

Default prolog for all ZSH scripts?

I have a file that contains several helper functions, meant to be used only in other ZSH scripts. I do not want them to be loaded with my profile. To make these functions available in my script, I ...
0
votes
2answers
26 views

Perform scp-then-ssh in one connection

Both at work and at home I tend to do the following very often: $ scp "SomeScriptIJustCreatedOrModified.sh" some-server: $ ssh some-server ./SomeScriptIJustCreatedOrModified.sh arguments And ...
0
votes
0answers
9 views

Is it possible to script 'duplicate display on 2 & 3' in Windows 7?

We have about 300 computers that have three displays connected to them: One DVI, one DisplayLink USB/DVI, and and HDMI projector. We would like to duplicate 2 & 3 (USB & HDMI). Windows Key + P ...
34
votes
10answers
4k views

How can I delete everything after the first column in Notepad++?

I'm trying to get rid of everything after a column in Notepad++. Column mode is not an option. Is it possible? What I have: 70.97.110.40 159 ms [n/a] 21 ...
0
votes
1answer
57 views

Batch Script to Trim lines in text to first 30 or 50 characters only

I am now new to scripts but i find it really difficult understanding "for" command (especially with that tokens and delimiters etc) . Saying so, i think that for command can be used to do what i am ...
0
votes
1answer
111 views

Script to Find Certain words and delete those lines in a file

EDITED THE QUESTION as i am open to different type of solutions unlike just batch previously I am on Windows & some suggested SED etc. So i am OK with these 3rd party standalone exe's using ...
0
votes
1answer
18 views

Autohotkey on a win8 tablet: three clicks for an action

I would love to use three clicks on my tablet to perform an action such as ^w (closing chrome windows). I have tried with "RapidHotkey" script but to no avail. I would greatly appreciate your help. ...
0
votes
0answers
22 views

Uninstalling programs MSIEXEC always takes the same time to run

I've created a script that removes all of the SQL bits and pieces left over when you do an appwiz.cpl removal of SQL. Initially some components failed because of 'there is another installation in ...
1
vote
1answer
52 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 ...
1
vote
1answer
50 views

How can I move files into a folder based on their name?

I have several .pdf and .tex-files in a certain folder "ABC". They all are named by the scheme C01S02_Word.pdf C03S02SS01_Description_random_words.pdf C04S01SS02_More_words.pdf and so forth C in ...
0
votes
2answers
40 views

Move *.wav files to new sub folder in multiple folders

On my Windows 7 x64 system, I have in my music folder both *.mp3 and *.wav files in a directory structure similar to this: D:\users\username\Music\Music\Artist\Album\musicfiles I'd like to move all ...
0
votes
0answers
20 views

How to start application after login on CentOS? [duplicate]

I am trying to start GUI application with upstart script on CentOS. I have test script located /etc/init/ folder. start on desktop-session-start stop on desktop-shutdown respawn script export ...
0
votes
1answer
40 views

How to start GUI application with upstart?

I have struggled with this problem for three days and I have tried many ways to solve it but not successful yet. I hope you guys can help me... I have an GUI application. I want to start this ...
0
votes
1answer
25 views

Script to open a chrome extension URL

I want to be able to create a keyboard shortcut to Dewey (a Chrome extension for bookmark management) using BetterTouchTool. BetterTouch tools allow opening urls, but if I try entering the URL ...
-1
votes
0answers
14 views

automatic windows installer with scripts executed after it

i have a program i want to install and then a copy some files and edit some other files. I want to get all of these things into one setup because a really beginners will use it and its hard for ...
0
votes
2answers
34 views

tee causing bash scripts to hang

I have a script that calls a number of other install scripts ./script1.sh 2>&1 | tee script1.log<br> ./script2.sh 2>&1 | tee script2.log<br> ./script3.sh 2>&1 | tee ...
-1
votes
0answers
36 views

Windows script to copy files from C:\ to Backup B:\ but leave a SYMLINK copy back on C:\

I have a particular way to "backup" my stuff, in that I copy everything large (movies) etc from my main drive C:\ to an external backup drive B:\. Then make a SYMLINK of the file on B:\ back to C:\, ...
0
votes
2answers
39 views

How to make a bash script wait and then continue running?

So I have a .sh script. I would like to wait 25 minutes and then continue running, NOT repeat. Its something like this: #!/bin/bash /bin/bash ~/path/script.sh I want it to kill a process after ...
0
votes
0answers
32 views

tc packetloss cgi script via webpage throws AH01215: Illegal “loss percent”

Using the following tutorial to run CGI commands, and after fixing a small issue executing sudo /sbin/tc qdisc add dev eth0 root netem loss 1% returns an error AH01215: Illegal "loss percent" (at ...
1
vote
2answers
58 views

How can I add, from another operating system, a script for execution on the next Windows boot?

Also known as: adding a script on some Windows startup without booting it I have a multiple operating systems computer, one of them is Windows, and I would like to add some .cmd script to the ...
0
votes
1answer
66 views

Mavericks startup script

I am trying to write a small script to launch when user logs on. I have searched and got the script to work but unable to run at log on with .plist We have active directory setup. When the user logs ...
0
votes
0answers
22 views

How can I get all urls of pattern x from a paged list of search results?

I'm using Windows 7 SP1, and I'm willing to use powershell or wget or whatever will work. I downloaded powershell today (ps 4) and I've got some scripts working, but I'm having trouble with this one. ...
0
votes
0answers
12 views

How to hide cmd window of a Calibre Content Server batch script? [duplicate]

So I manage to be able to share more than one Server Content at the same time with the same PC. If someone want to know how can I do this, is easy. Make a batch script and put this: @echo off ...
0
votes
0answers
73 views

Windows batch script: Manual power up vs Wake on Lan (WOL)

OK, I have a (win 7) desktop computer with WOL set up so I can turn it on remotely, it works fine. Next thing, on this computer I have a batch script, which runs at startup and starts various apps, ...
0
votes
1answer
25 views

Command fails in a script?

I'm trying to script the OpenSSL ec command. The script is used to validate a collection of keys produced by another library. The script is shown below after the question. The following works from a ...
0
votes
0answers
12 views

How can I queue a script to run the next time a system is up and connected to the internet?

I'm using mailsend (on a Mac) to send mail from the command line. I'd like to set this up such that I can execute a send command, but if my system is disconnected from the internet, that command is ...
0
votes
0answers
16 views

How to split long Google searches and combine them later?

I have a list of keywords, which change regularly. I would like to search Google for new occurrences of pairs of these keywords. keyword1, keyword2 keyword1, keyword3 I can construct a query ...
0
votes
1answer
16 views

Edit file from boot iso Arch Linux

I've messed up a startup script on my Arch Linux machine and I cannot boot into KDE anymore to disable it. Is there a way to delete (or move) that file from where it is so that the script will not ...
1
vote
2answers
75 views

Running the script on startup (ubuntu)

I have this script named startupcss I placed it on /etc/init.d then add the service update-rc.d startupcss defaults but when I try to start the service service startupcss start I get this error ...
0
votes
0answers
29 views

Batch Script to ZIP Together Files With Same Names

I have 314 vector images I'm looking to submit to the various stock image sites I'm a contributor to, but a number of these require that the vectors be bundled into a ZIP folder with a JPEG preview ...
1
vote
0answers
303 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
49 views

Windows firewall - block all incoming connections enable/disable - CREATE SCRIPT

Is it possible to create script which enable/disable the first checkbox of windows 7 firewall settings (Block all incoming connections....)?
0
votes
1answer
19 views

Backing up recursively is not copying directories

I have the following line in a script to backup and it is not recursively copying all the directories, it gets the files but just lumps them all together. Can anyone tell me what is wrong with it? ...
1
vote
1answer
16 views

Is there a DBus command for adding a program start button to a KDE plasma panel?

There was a nice command in KDE3 that allowed my to add a program start button to a kicker panel programmatically: dcop kicker $PANEL addNonKDEAppButton "$PROGRAM_NAME" "$PROGRAM_DESCRIPTION" ...
-1
votes
2answers
124 views

Run a Script before shutdown or reboot windows 7

I need a registry entry to a run once script at shutdown or reboot. I needs cleanup sensitive data after an installation. So even if the installation failed or got interrupted, i may not leave data ...
1
vote
1answer
53 views

linux: monitor logfile for a string and execute script

I want to monitor a logfile (syslog) on my linux debian box. So if there is a new entry with a secific string, i want to execute a script. The strings are "alarm start" and "alarm end" So it should ...
0
votes
1answer
29 views

Script not working when run automatically

This script (parts of it) runs perfectly when invoked manually from the Terminal: #!/bin/bash [[ "`ps -e | grep -c $(basename $0)`" -gt "2" ]] && echo -e "`basename $0`: Mutiple instances ...
0
votes
0answers
39 views

Bash Script Display Remote Screen Session to User

I'm kind of new to bash scripting and I'm having trouble figuring out how to accomplish this. I'm working on a script that is designed to backup and manage a java application that runs within a ...
0
votes
0answers
30 views

Automating my PC setup builds

The company that I work for orders bog standard computers from Dell. We then set these up with user and machine settings and then install our software on it to sell to out customers. I've set up ...
0
votes
0answers
34 views

Automating SMTP Configuration

The following is an excerpt from a series of instructions I am following as a list of company procedures they would like me to automate. Is the following achievable through command line/batch, and if ...