OS _ Windows - dwisianto/dwisianto GitHub Wiki

Command Line

call s.bat

GitBash

Make

Go to ezwinports. Download make-4.1-2-without-guile-w32-bin.zip (get the version without guile). Extract zip. Copy the contents to your Git\mingw64\ merging the folders, but do NOT overwrite/replace any existing files.

Cmd-Exe

SSH Connection Shortcut in Windows

  • Right Click on Desktop New => Shortcut
  • Popup Dialog will be displayed asking for the location of the file
  • Enter C:\Windows\System32\cmd.exe /k ssh -i path\to\key.pem username@ipaddress
  • Save it with a name

run.bat

G22G_TST_PATH___rmdir = rm -rf %G22G_TST_PATH%
G22G_TST_PATH___echo = echo %G22G_TST_PATH%
G22 = hello

run.var

set G22G_TST_PATH=C:

Doskey Script

::
:: comment
::
@echo off
echo %DATE%


::
:: [] Constants
::
set d_cmd=C:\d2\s2\c2\pj\og\o2\g22g\run\run.cmd
set d_key=C:\d2\s2\c2\pj\og\o2\g22g\run\run.doskey
SET G22G_TST_PATH="C:\d2\s2\c2\pj\og\o2\g22g_\tst"
:: doskey G22G_TST_PATH___rmdir = rm -rf %G22G_TST_PATH%
:: doskey /macrofile=%d_key%
echo %d_key%

::
:: Reset
::
:: reset_act=" "

:: reset_cp=" a "
:: reset_rm="rm -rf as"
:reset
    SET /A index=1
    echo %index%
    echo %G22G_TST_PATH%
::    G22G_TST_PATH___rmdir
EXIT /B 0


::
:: Quick Start
::
:start
SET /A index=2
echo %index%
EXIT /B 0

::
::
::
:build
SET /A index=3
echo %index%
EXIT /B 0

::
::
::
echo %1
echo %2
echo %3
%1