Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.7 KiB

  1. ###
  2. ### SDX command aliases
  3. ###
  4. #
  5. # aliases for commands that change client state
  6. #
  7. sdxclient sdx.cmd client -g %SDXROOT%\client.log $*
  8. sdxflush sdx.cmd flush -g %SDXROOT%\flush.log $*
  9. sdxintegrate sdx.cmd integrate -g %SDXROOT%\integrate.log $*
  10. sdxresolve sdx.cmd resolve -g %SDXROOT%\resolve.log $*
  11. sdxrevert sdx.cmd revert -g %SDXROOT%\revert.log $*
  12. sdxsubmit sdx.cmd submit -g %SDXROOT%\submit.log $*
  13. sdxsync sdx.cmd sync -g %SDXROOT%\sync.log $*
  14. #
  15. # aliases for reporting commands
  16. #
  17. sdxbranches sdx.cmd branches -g %SDXROOT%\branches.log $*
  18. sdxchanges sdx.cmd changes -g %SDXROOT%\changes.log $*
  19. sdxclients sdx.cmd clients -g %SDXROOT%\clients.log $*
  20. sdxcounters sdx.cmd counters -g %SDXROOT%\counters.log $*
  21. sdxdirs sdx.cmd dirs -g %SDXROOT%\dirs.log $*
  22. sdxfiles sdx.cmd files -g %SDXROOT%\files.log $*
  23. sdxhave sdx.cmd have -g %SDXROOT%\have.log $*
  24. sdxinfo sdx.cmd info -g %SDXROOT%\info.log $*
  25. sdxintegrated sdx.cmd integrated -g %SDXROOT%\integrated.log $*
  26. sdxlabels sdx.cmd labels -g %SDXROOT%\labels.log $*
  27. sdxopened sdx.cmd opened -g %SDXROOT%\opened.log $*
  28. sdxpending sdx.cmd pending -g %SDXROOT%\pending.log $*
  29. sdxresolved sdx.cmd resolved -g %SDXROOT%\resolved.log $*
  30. sdxstatus sdx.cmd status -g %SDXROOT%\status.log $*
  31. sdxusers sdx.cmd users -g %SDXROOT%\users.log $*
  32. sdxwhere sdx.cmd where -g %SDXROOT%\where.log $*
  33. #
  34. # aliases for navigation
  35. #
  36. root cd /d %SDXROOT%\$1
  37. up if "$1"=="" (cd ..) else (for /L %i in (1,1,$1) do cd ..)
  38. .. cd .. && cd $*
  39. ... cd ..\.. && cd $*
  40. .... cd ..\..\.. && cd $*