Welcome To Snipplr


Everyone's Recent DOS Batch Snippets



1 2 Next »
to list available targets: android list targets
0 696 posted 14 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 965 posted 14 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 999 posted 14 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 760 posted 14 years ago by shortstack
Windows shutdown after pause. Set it up with a scheduled task.
1 810 posted 14 years ago by vagrantradio
Runs cleanmgr.exe automation, set it up with a scheduled task.
1 915 posted 14 years ago by vagrantradio
Apagado por linea de comando
0 661 posted 15 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 1203 posted 15 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 1190 posted 16 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 944 posted 16 years ago by hoffstein
Run from within SQL to get list of items in directory to a table.
1 805 posted 16 years ago by DaveChild
Crops and resizes, maintaining perspective, with a white background.
1 917 posted 16 years ago by DaveChild
1 2 Next »