Leaked source code of windows server 2003
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.

36 lines
695 B

  1. BEGIN {
  2. FS="\t"
  3. printf " @echo off\n"
  4. printf " if (%%1) == () goto exit\n"
  5. printf " %%bldDrive%%\n"
  6. printf " goto %%1\n\n"
  7. }
  8. {
  9. if ($0 !~ /^;/)
  10. {
  11. if ($2 != "" && $2 != ".")
  12. {
  13. printf ":%s\n",$2
  14. printf " cd %s\n",$1
  15. printf " goto exit\n\n"
  16. }
  17. }
  18. }
  19. END {
  20. printf ":%s\n","ifaxdev"
  21. printf " cd %s\n","%bldHomeDir%\\ifaxdev"
  22. printf " goto exit\n\n"
  23. printf ":%s\n","toolsbld"
  24. printf " cd %s\n","%bldHomeDir%\\tools\build"
  25. printf " goto exit\n\n"
  26. printf ":%s\n","cron"
  27. printf " cd %s\n","\\cron"
  28. printf " goto exit\n\n"
  29. printf "\n:exit\n"
  30. }