Welcome To Snipplr


Everyone's Recent DOS Batch Snippets



1 2 Next »
to list available targets: android list targets
0 73 posted 9 years ago by bustanil
This batch mirrors the contents of one directory to another using Robocopy. It will display a list of what is being mirrored before prompting the user for confirmation on the mirror. WARNING: Robocopy's /MIR switch that is used in this batch WILL...
1 159 posted 10 years ago by karlhorky
I use this for house keeping logs spat out by a ecommerce system- Just wack it in a batch file and setup a windows scheduled task to kick it off.
2 120 posted 10 years ago by Shawson
Script makes a copy of "file.doc" as many times as you need it to. It renames them all with a time-based file name. Source and destination directories and file names/extensions can be modified easily.
1 117 posted 10 years ago by shortstack
Windows shutdown after pause. Set it up with a scheduled task.
1 110 posted 10 years ago by vagrantradio
Runs cleanmgr.exe automation, set it up with a scheduled task.
1 132 posted 10 years ago by vagrantradio
Apagado por linea de comando
0 76 posted 11 years ago by xaviles
There is a similar snippet on the site, yet it is listed for Windows Powershell, while the syntax is clearly Batch, and secondly, it is very incomplete and no response is coming from the author, so I'm posting my completer version here. Beware, th...
4 249 posted 11 years ago by Vordreller
This assumes that you have sqlcmd (comes with SQL Server client tools) installed and wish to execute every file ending in .sql within the given directory against the specified server and database using Windows Authentication.
2 198 posted 11 years ago by hoffstein
Since network shares by default only get LocalIntranet permissions, it's relatively common to want to use CasPol to fully trust some shares that you control and know are safe. To trust everything on the share \\ShawnFa-Srv\Tools, use the command...
2 119 posted 11 years ago by hoffstein
Run from within SQL to get list of items in directory to a table.
1 116 posted 12 years ago by DaveChild
Crops and resizes, maintaining perspective, with a white background.
1 117 posted 12 years ago by DaveChild
1 2 Next »