Jump to content

soulbleed

Active Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by soulbleed

  1. @echo off tasklist | findstr /i "calc.exe" goto :%errorlevel% :0 taskkill /im calc.exe && goto :eof :1 echo Process not found
  2. Use AutoIT Script. It has a function called WinWait() that will pause execution of the AutoIT script until a window with the specified window title starts.
  3. @echo off findstr /i "firefox.exe" tasklist.txt if errorlevel 0 taskkill /im firefox.exe
  4. Microsoft has begun patching files on Windows XP and Vista without users' knowledge, even when the users have turned off auto-updates. Many companies require testing of patches before they are widely installed, and businesses in this situation are objecting to the stealth patching. Read more at this link: http://www.windowssecrets.com/2007/09/13/0...t-users-consent
  5. find . -name '*.html' -print0 | xargs -0 perl -pi -e 's/oldstring/newstring/g'
  6. ls probably works because it's built into the shell. Try using the full path to your xmms binary.
  7. You can use this Batch and VBScript to achieve the same thing: @echo CreateObject("WScript. Shell"). Run "wmplayer " ^& Chr(34) ^& "Sound file here" ^& Chr(34), 0 > a. vbs @a. vbs //nologo
×
×
  • Create New...