Search notes:

Script: cdm.bat

See cdms.bat
@rem
@rem      cdm SomeTag
@rem
@rem      cd into the direcotry in which
@rem      was called
@rem
@rem
@setlocal enabledelayedexpansion

@set tq84_mark=%1

@if not defined tq84_mark (
  @echo you must specify a mark
  @exit /b
)

@rem This is why «setlocal enabledelayedexpansion» is the
@rem script's first line...
@set path_to_go=!tq84_cd_mark_%tq84_mark%!

@rem http://stackoverflow.com/a/3262891/180275
@endlocal && set path_to_go=%path_to_go%

@cd /d %path_to_go%

Github repository scripts-and-utilities, path: /cdm.bat

See also

Scripts

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759390568, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/tools/scripts/personal/cdm_bat(65): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78