General Notes

Run shortcuts from batch files - so Perl scripts can be launched from a batch-file, f’r instance

 

start "\path\to\shortcut.lnk"

 

Comments in batch files - notes that REM may cause slow behavior on floppy disks.

 

commands with pipes and variables

 

sending command output into a variable

 

Open current directory in Emacs

Inspired by http://datko.net/2013/07/11/open-emacs-dired-buffer-from-dired/

 

:: open current directory in dired
:: based on code from http://datko.net/2013/07/11/open-emacs-dired-buffer-from-dired/
:: save as "dired.bat" and save somewhere in PATH
:: run "dired" from command-line to open current directory in emacs w/ dired
emacsclient -e "(dired \"\")"

 

https://gist.github.com/MichaelPaulukonis/063907de9e1064b6f734

 

See Also

CmdPrompt

 

 

Category tags

Programming


 

Comments

No comments yet.

 

 

Add Comment

Heading:
 Your Message
 
 Enter value ← Have you entered the code number?
Author: