خرید بک لینک

I want to create a command go as follows:

go folderafolderb
:: executes
:: cd folderafolderb
:: dir

go Z:folderafolderb
:: executes
:: Z:
:: cd folderafolderb
:: dir

I tried with just cd and does not seem to work. For this to work, i want to be able to check the 2nd character of path (1st parameter), and then compare it to :. If so then run an additional command <1st character>:, where 1st character is the drive letter.

What would be the best way to solve this?

- - , .

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 12 اسفند 1394 ساعت: 12:30

صفحه بندی