Welcome To Snipplr


Everyone's Recent DOS Batch Snippets



« Prev 1 2
  1. FAV

    Show information about a user in a Windows domain

    Show information about a user in a Windows domain
    DOS Batch 3 views posted 3 years ago by rm1984
  2. FAV

    Copy file with current date Windows

    Copy file as current date as name file to destination directory
    DOS Batch 10 views posted 4 years ago by brm
  3. FAV

    A windows batch to run Mysql client

    **Vars** to to specify + ${EnvSet_Bash} **Demo** vars specified like + ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-temporary-path/ "set-mysqlRT-Env.bat") pluss other bash commond *...
    DOS Batch 4 views posted 5 years ago by jacktan
  4. FAV

    A windows batch to shutdown Mysql server

    Run `mysqladmin` to shutdown msyql server with a specified option file. **Vars** to to specify + ${EnvSet_Bash} **Demo** vars specified like + ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-...
    DOS Batch 2 views posted 5 years ago by jacktan
  5. FAV

    A windows batch to run Mysql server

    Run a Mysql server using command line with a specified option file. **Vars** to to specify + ${EnvSet_Bash} **Demo** vars specified like + ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-...
    DOS Batch 3 views posted 5 years ago by jacktan
  6. FAV

    An example batch file for set temporary PATH

    set-mysqlRT-Env.bat before you run other commands like mysql, call this bat for temporary PATH and other environment variables。 **Vars** to specify + ${STH_HOME} + ${homeValue} **Demo** Vars specified like + ${STH_HOME}=MYSQL_HOM...
    DOS Batch 5 views posted 5 years ago by jacktan
  7. FAV

    Mass-strip filenames from the first space

    Replace COL with the cell number.
    DOS Batch 3 views posted 5 years ago by lottegis
  8. FAV

    Format Date In Batch File

    Nice script for formatting dates in a batch file without having the system locale settings impact your format
    DOS Batch 4 views posted 5 years ago by kidmizere
  9. FAV

    Clear SharePoint Deisgner cache

    This is batch file clearing SharePoint Designer cache
    DOS Batch 6 views posted 6 years ago by rflipper
  10. FAV

    Clear SharePoint Deisgner cache

    This is batch file clearing SharePoint Designer cache
    DOS Batch 2 views posted 6 years ago by rflipper
  11. FAV

    Domain Name IP Address Lookup

    Return the IP address from a domain name.
    DOS Batch 6 views posted 6 years ago by mikaelpelle
  12. FAV

    ffmpeg - Convert Sony Cybershot MPG file to mp4 for JavaFX 2

    ffmpeg - Convert Sony Cybershot MPG file to mp4 for JavaFX 2
    DOS Batch 5 views posted 6 years ago by laurenceosx
  13. FAV

    ffmpeg - Convert iPhone mov file to mp4 for JavaFX 2

    This type of conversion is very fast because the main audio video content is just copied (not converted) to a new container type of file.
    DOS Batch saved by 1 person 5 views posted 6 years ago by laurenceosx
  14. FAV

    Batch code to process files with a certain filename in a directory

    This will loop through files in somefolder with the extension .c, print out the filename and compile the files.
    DOS Batch 12 views posted 6 years ago by stianlagstad
  15. FAV

    7zip commandline builder for zipping extensions in an svn repository

    7zip commandline builder for zipping extensions in an svn repository
    DOS Batch 5 views posted 7 years ago by lookmatters
  16. FAV

    JBoss 5 YAJSW service wrapper script

    A DOS batch script to handle registering and controlling a JBoss service.
    DOS Batch 3 views posted 7 years ago by djangofan
  17. FAV

    Registrar manualmente DLL en windows

    Registro manual de una libreria o proceso DLL en windows
    DOS Batch 4 views posted 7 years ago by thescorpion
  18. FAV

    Add a current date to a file

    This is a batch file that will add the date to the end of all files in a particular directory located on the user's desktop and place them in a directory called Output_Renamed on the user's desktop.
    DOS Batch saved by 8 people 9 views posted 7 years ago by _reydin_
  19. FAV

    Put windows to sleep (and keep it asleep!)

    This is a fraction of a much larger script which does multiple tasks. This scriptlet is intended to be interactive and somewhat user-friendly. First, it asks if you want to place the computer into sleep mode, then it kills pesky processes associated...
    DOS Batch saved by 1 person 7 views posted 7 years ago by Rectifier
  20. FAV

    Save (and clear) Windows Event Logs

    Uses the sysinternals (microsoft) utility PsLogList to save specified event logs to files and then clears them. Method can be used to save logs as .evt and .evtx. This script has four event logs listed as an example and has a template command comment...
    DOS Batch 12 views posted 7 years ago by Rectifier
  21. FAV

    Clear Windows 7 Event Log

    This is a simple batch script to clear the event logs from a windows 7 or server 2008 machine. The script does *not* save these logs. This was tested on a local machine but could be adapted for remote use.
    DOS Batch saved by 9 people 5 views posted 7 years ago by Rectifier
  22. FAV

    Combine/append ASCII files using DOS

    Quickly combine/append ascii type files such as txt or csv.
    DOS Batch 11 views posted 7 years ago by webonomic
  23. FAV

    Import svn repository dump

    script imports svn dump into the repository
    DOS Batch 3 views posted 8 years ago by altern
  24. FAV

    Create svn repository dump

    Batch script creates repository dump of specific project in repository. It assumes that repository has following structure: /project1 /trunk /tags /branches /project2 /trunk /tags /b...
    DOS Batch 6 views posted 8 years ago by altern
  25. FAV

    Create initial svn repository structure

    Batch script creates initial svn repository structure according to SCM framework (http://scm.altern.kiev.ua): /project /trunk /tags /builds /PA /A /B...
    DOS Batch 5 views posted 8 years ago by altern
  26. FAV

    svn add recursively on windows

    'svn add' all unversioned files in a working copy to svn repository recursively on windows
    DOS Batch 5 views posted 8 years ago by altern
  27. FAV

    Viewing an image under Windows 7 from a command line

    Useful to open an image for viewing from the command line under Windows, in this example the image is generated by the GraphViz dot command.
    DOS Batch 12 views posted 8 years ago by m1b
  28. FAV

    cygwin open explorer window in current directory

    Just run at the prompt cygwin bash $ cmd.exe /c start .
    DOS Batch 2 views posted 8 years ago by peterlubczynski
  29. FAV

    Get the Installation date of your Windows System with netsh

    This command will tell you the date of Installation of your Windows System. The result will look like this: *InstallDate = 11:48:12 28.06.2010*
    DOS Batch 1 views posted 9 years ago by bits
  30. FAV

    Get current date in format YYYYMMDD

    The code works if and only if your system is using English(United States) date format (i.e. "Web 05/11/2011"). If your systems is using English(United Kingdom) date format just replace %%B in the first and third rows with %%A.
    DOS Batch 4 views posted 9 years ago by cappellin
« Prev 1 2