0
votes
0answers
22 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
1answer
26 views

Batch file to open 4 or 6 internet explorer screens and place them by dividing the desktop equally

I intend to write a script that can open 4-6 IE screens that can be automatically be placed on the desktop. So essentially all of them will get equal space on the desktop. I am aware of the command ...
2
votes
2answers
35 views

Looking for a way execute a task on all files in a directory (recursively) on Windows

I have a huge number of mp4 video files that needs to have a volume boost. I need a way to execute a ffmpeg audio filter on all files in a specified base directory (and in subdirectories as well). My ...
2
votes
1answer
53 views

Variable in WinSCP script

I'm asked to automate some SFTP download processes via WinSCP. I'm not familiar with WinSCP scripting. ftprun.cmd: C:\Program Files\WinSCP\winscp.com" /script=D:\testsftp\ftpscript.txt ...
0
votes
0answers
54 views

How to add a startup/shutdown script to the GPO from the command line

I need to add startup and shutdown scripts from a CLI through a Powershell/Python/CMD script. Ideally, I would like to have the same functionality as gpedit.msc, but it is important that the tasks of ...
1
vote
1answer
59 views

Is there a script "to log remote users off and after log them off to delete their profiles?

I found 6 simple scripts (.bat and .vbs) for remote pcs (Win XP and 7) to Clean Profile properly and faultlessly: Script: sending Ping to check Remote PC On or Off (.bat) Script: checking who logged ...
1
vote
0answers
47 views

Script to fire fn + f6 every time computer starts?

My laptop's touchpad has malfunctioned. Every time I start the computer, I have to manually press the keys fn+f6 to shut it off. How can I create a script which does this automatically on every start? ...
0
votes
1answer
87 views

Script to enable/disable IPv4 on a specific network adapter Win 7

For reasons I don't wish to get in to at the moment I need to occasionally disable Internet Protocol Version 4 (IPv4) on my wireless card, then enable it some time later. Currently I go into the ...
2
votes
1answer
70 views

Powershell LastWriteTime is incorrect

I am running the following script to create directories based on the first 9 characters in the filenames in the directory and then moving te files into these directories based on their filenames. dir ...
0
votes
1answer
34 views

7-zip -v switch will fail to use cpu properly?

I have been using this script for years, back from when above 2 cores was a challenge in 7z and I had just offered myself a shiny i7: "C:\Program Files\7-Zip\7z.exe" u -m5=lzma2 -mmt=8 %1.7z %1 ...
0
votes
2answers
54 views

Can I create a Chocolatey installer automatically based on my currently installed applications? How?

I intend to reinstall Windows on my computer soon and I'd like to make the process of reinstalling all of my applications as seamless as possible. I know you can create a Chocolatey script that can be ...
0
votes
1answer
58 views

Open browser window at specified screen / coordinates

A customer has a 6-screen setup for each workstation and would like various pages of a web app to be opened automatically in each of the screens on startup or invoking a shortcut. (The target web ...
2
votes
2answers
58 views

Windows: How to start application when the other finishes

I would like to launch an application automatically, always when some other application finishes. Is it even possible to perform? My specific situation is: User connects to remote desktop and then, ...
0
votes
1answer
69 views

Cannot unzip with zip command line

I am having difficult unpacking a zip to a specific directory. I am trying to get all contents of subdirectory of the zipped file and not the parent directory. This is parent directory within zip ...
5
votes
3answers
2k views

Delete all Files from Folder and Sub Folders

I'm wanting to remove all files from a folder structure so I'm left with an empty folder structure. Can this be achieved in either Batch or VBS scripting? I have tried a very basic batch command but ...
1
vote
1answer
72 views

Creating a script to open and save a file

I currently have about five thousand 2D drawings, under many directories on one server, and all of them have a .prt extension. These files were created in the 90's using a software called CADKey. ...
0
votes
0answers
21 views

Scan picture by folder by month

I bought a new printer HP pro 8600. With my old printer I could scan pictures,for every month there would be a folder by the name of the month and the pictures would be inside of this folder. The new ...
0
votes
1answer
63 views

Is there a way to find out if a Windows 7 workstation has updates turned off in the control panel?

I have a domain with a group policy to run updates every night at 3AM. If the computer is turned off, the next time a user logs into the computer, the updates are downloaded. When the users shuts ...
1
vote
2answers
912 views

How to create multiple folders and name them by reading lines from text file?

I have a plain text file named Export.txt. It contains a list of geographical places, preceeded by a 3 digit number with leading zeros. Example --START OF FILE-- 001 Aberdeen 002 Bellevue 003 Camas ...
1
vote
1answer
60 views

Powershell script with multiple msiexec calls [closed]

I am having problem with multiple msiexec calls in my PS Script msiexec /package $msi1 /l*v $logfolder\log1.log /qn msiexec /x $msi2 /l*v $logfolder\log2.log /qn msiexec /i $msi3 /l*v ...
1
vote
3answers
46 views

Is there a tool that could help me use my Linux scripts in Windows? [duplicate]

I am new here. I would like to know if there is a tool that would help me use my Linux scripts in Windows? I am more comfortable with Linux commands than Windows. I also tried to download a software ...
1
vote
1answer
52 views

Search for a directory and delete it

I want to search the c: drive for the existence of directory called XYZ. Then I want to delete it and all of it's contents. There will be multiple directories named XYZ at different levels in the ...
0
votes
1answer
95 views

How to run a batch script which is on a server, but it should be run on a PC remotely

There are many batch scripts on one of our servers that are shared to everyone. These are scripts like Robocopying, portable apps, etc. I am in tech support, and when someone asks me (for example) "I ...
0
votes
1answer
79 views

How can I run a batch file only one time per comptuer?

I have a batch file that I want to push out to make some changes, but the changes take a while and only need to be done one time, how can I manage this?
0
votes
1answer
65 views

Rename a dynamic folder in windows using batch script?

C:\Users\xxxx\Downloads\CarepointServiceR2_CarepointServiceR2_**109**_artifacts The Number which is highlighted is dynamically changed each and every day.I have to rename this like ...
2
votes
1answer
1k views

BGinfo not updating desktop

I have attempted every method of automating bginfo to run at logon unsuccessfully on my Windows 2012 R2 server. I though it was a scripting issue until I manually specified the path to write the image ...
0
votes
0answers
60 views

Powershell not exiting when called from Orchestrator

I'm trying to run a powershell script from orchestrator. The script works fine from my interactive prompt but when run from a orchestrator runbook it never exits and the overall runbook appears to be ...
0
votes
0answers
99 views

Cygwin can't execute Shell script

I am trying to execute a Shell script using Cygwin. When I type this in the Cygwin terminal: sh build-native.sh I get this: build-native.sh: line 2: ndk-build: command not found It's a script ...
0
votes
0answers
30 views

How can I get a list of incoming Radmin connections?

I have a growing problem where users are connecting to production servers (as they should), performing work, and closing the Radmin Window without logging out of Windows. Asking people to change has ...
1
vote
1answer
94 views

Send HTTP request to website with password and username, then record results

I need to record certain numbers (temperature and others) from a web-based monitoring service (LaCrosse Alerts). However, you must login to use this service. I have an account, and am starting to ...
0
votes
2answers
103 views

Script to copy text including today's date into clipboard

I'd like to know if its possible in Windows for a script (or similar) to be written that will copy today's date and specific text into the clipboad, in the following format: dd/mm/yy - xx - xxx ...
0
votes
1answer
133 views

Script to run after joining domain

Is there a possibility to do this? I want to run a script that defines my network drivers and runs an .exe after it joined the domain.
4
votes
1answer
265 views

Simplest setup on Windows to send HTTP request, get and apply regex to response, and write match(es) to output file

I'd like to write a script that records the size of the close votes review queue on SO (currently ~95.5k), polling just a few times an hour, so I could plot a general trend. I know what I'm going to ...
1
vote
0answers
152 views

How can I modify the BAT file in this post so it will randomly select 1 background contained in a folder containing multiple backgrounds?

Is there a way to modify the bat file from this post here: How do I set the desktop background on Windows from a script? so that it will randomly select 1 background image from a folder containing ...
1
vote
1answer
624 views

Running remote scripts on Linux Servers from Windows

I'm on a Windows server, I'm looking for a way to run some scripts (through RSH?) remotely on Linux servers. Thing is, I have to do a lot of stuff manually on different servers whenever I want to ...
0
votes
2answers
59 views

Sycronizing/deploying scripts across several systems

I have a few time consuming tasks that I like to spread across several computers. These tasks require running an identical ruby or python script (or series of scripts that call each other) on each ...
0
votes
1answer
60 views

AutoHotKey: How do I check for the presence of a button with a certain label?

I have two Windows which have the same window class and title texts. The only difference are some buttons that are on one but not the other. Using AutoHotKey, how can I check for the presence of a ...
0
votes
1answer
141 views

Converting Windows batch to Linux script (Batch create symbolic links by first character)

As a noob to Linux and scripting I'm unsure as to how to convert this into a linux script or even where to start. Essentially I want to create a script that creates alphabetized folders A-Z, symlink ...
0
votes
7answers
156 views

Programmatically find out whether a computer is a server

I want to programmatically find out what version of Windows a computer is running. In the CMD shell one can type ver which for my computer returns: Microsoft Windows [Version 6.2.9200] But that ...
-1
votes
2answers
58 views

Window XP start script before service

PC with Windows XP prof. controls small production line. On Windows start-up I want to backup production data (created last day) before system starts particular service and application. How to start ...
1
vote
0answers
40 views

Script to port specifc data from doc1 (notepad++) to specific place(s) in doc2

I really appreciate your help with a windows script or regex function that ports specific data from doc1 (xml in notepad++) to specific place(s) in doc2 (notepad++). I'm running win8. Thank you in ...
0
votes
0answers
107 views

How to extract multiple zip files with possible duplicate file names in a single folder

I have a list of many zip files(with duplicate names) that need to be downloaded(maybe by wget) each of them contain a single file , I need to extract all of them into a single directory , but due to ...
0
votes
2answers
213 views

Script to find number of zip file in folder [duplicate]

I need a script that counts the number of .zip (zip files ends with monday_abc.zip) files in a folder on windows 2008 server. Is it also possible to find the last modified zip files and the number of ...
3
votes
4answers
382 views

How to automatically hide files put in a specific folder?

How should I go about automatically hiding files that I paste/drop in a folder, for example C:\test\ ? I thought about creating a batch file or using a program which runs continuously on the desktop ...
0
votes
0answers
26 views

Insert splash screen into multiple videos?

I've got around 100 videos that I've generated a unique splash screen for based on some metadata and the file name. The files are named "videoname.avi" and "videoname.png" and are in the same folder, ...
0
votes
0answers
24 views

Windows: Scriptable “zoom in” possible?

I am wanting to automate "zooming in" to a specific area on the screen. For instance, there is a windows application that can not be resized or made full screen. I would like to "zoom in" to this ...
0
votes
1answer
1k views

Batch Scripting - How to delete a subfolder (files/folders) over several directories

I need a batch file to traverse a directory structure that looks like this C:\CruiseControl\ProjectArtifacts\ProjectName1\Logs C:\CruiseControl\ProjectArtifacts\ProjectName1\Src ...
0
votes
1answer
496 views

Automate creation of taskbar shortcuts

I have Windows 8 computers on a domain. I want to create a Group Policy Object to create taskbar shortcuts for users as they move onto different machines. I have created a batch file that will copy ...
0
votes
1answer
91 views

Outlook: A Script rule how to move a email to a specific folder and copy the headline into the new folder.

I have a query about how to move my suppliers quotes into a specific folder and automatically create a folder with the specific enquiry number. So the first step is to create the rule and the folder ...
4
votes
1answer
258 views

How to call a cmd on a remote server without having the absolute path

I would like to call a cmd (let's call it x.cmd) on a remote server. The x.cmd will return a log file in a log folder. Problem is this log folder in x.cmd doesn't have an absolute path (just a ...