New answers tagged


AutoIt may work. It can do things like click buttons and checkboxes, and fill in fields. It's not the most friendly tool to get up and running, and it's definitely a kluge, but may be worth checking out.


It depends entirely on the application. Some applications have mass deployment toolkits (Office, for example) and some don't. Some have a process where you can generate an answer file for the installer and some don't. Some have undocumented silent install switches and some don't. Some installers extract a slew of .msi files into your local temp as the ...


I choose to produce a solution that is somewhat different and more simplistic: @echo off <fullpath>\VerifyWarehouseLoad.exe 2>&1 | Find /i "1" IF [%ERRORLEVEL%] EQU [0] start "TitlePlaceholder" /wait /d "C:\Program Files\Sisense\Prism" psm ecube build name="Test" serverAddress="LocalHost" mode="restart" By not using () around the command, ...


Thanks everyone who left suggestions in the comments. I tried one modification at a time and the solution was adding the full path to VerifyWarehouseLoad.exe I also remove the first and last lines because they really weren't need. The console window isn't even show when executed from the Task Scheduler. Here's the final script that is working both ...


@end This would work, if the file would be javascript file (.js). Since you are using batch file, you should use exit /B n to quit batch file, where 'n' is exit code. (Source)


OK newbie, here is the code you need to use to iterate the text files, obtain the modified date of each file, copy each file using the modified date as part of the file name, and delete the original files. You were very close, but you were missing a few things. To get the modify date of a file we can use set "MDate=%%~tF". To parse the date that is ...


Old post, new answers For $49.95, this should do it. Working to run Onedrive business as a service. Here is another candidate (free) to roll-your-own: SVC.EXE Synopsis. SVC.EXE is a simple Windows NT command-line program to manage NT services. Services can be listed, ...


Regardless of some differences in how BAT and CMD scripts operate as discussed here‌ (by virtue of meritorious Hammer's comment), commands are parsed and executed one after another hereby remembering next command offset (0 at starting point) and opening the script file again from disk for next command. 1000 commands in a script would imply 1000 disk ...


This is a poor use case for login scripts. A startup script or a scheduled task can both easily run as the SYSTEM account take care of your software installation. Generally I suggest using some kind of deployment system - SCCM, Patch Manager, Puppet, etc - but there is a quick and dirty solution available if you have a 2008+ domain. Basically it is ...


Is it necessary to use a logon script? I normaly try to do as much as possible with startup scripts... These run in system context with highest privileges.


I would suggest deploying a scheduled task via GPO that is triggered upon login. You can select who to run the task as and deploy with an admin account.

Top 50 recent answers are included