Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. @rem '
  2. @echo off
  3.  
  4. set P="/mnt/%~f0"
  5. set P=%P:\=/%
  6. set P=%P::=%
  7. set P=%P:/mnt/C/=/mnt/c/%
  8. set P=%P:/mnt/D/=/mnt/d/%
  9.  
  10. bash.exe %P% %*
  11.  
  12. goto :eof
  13. ' 2>/dev/null
  14.  
  15. # ---------- SHELL ---------- #
  16.  
  17. echo \$1 = $1
  18.  
  19. yes This is ShellScript | head -3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement