Search notes:

pc.bat

pc.bat can be used in cmd.exe to put the current directory (which is stored in the cmd.exe pseudo variable %cd% into the clipboard. It uses the set /p «trick» to suppress writing newlines in echo`.
@rem
@rem Put current path into clipboard.
@rem
@rem set /p in order to suppress
@rem newline of echo (https://stackoverflow.com/a/7105690/180275)
@rem
@echo | set /p="%CD%" | clip
Github repository scripts-and-utilities, path: /pc.bat

See also

cdcb.bat which cd's into the path that is stored in the clipboard.
pc pc.pl pc.ps1
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...', 1745614926, '3.148.236.97', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/tools/scripts/personal/pc_bat(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78