SORU
14 EYLÜL 2009, PAZARTESİ


Yönlendirme stdout ve tek bir dosya için stderr

Tek bir dosya için tüm çıkış (stdout, stderr) dos komut yönlendirmek için çalışıyorum:

C:\>dir 1> a.txt 2> a.txt
The process cannot access the file because it is being used by another process.

Mümkün, ya da iki ayrı dosyalara sadece yönlendirmek gerekir?

CEVAP
14 EYLÜL 2009, PAZARTESİ


İstediğiniz:

dir > a.txt 2>&1

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • efaustus9

    efaustus9

    16 HAZİRAN 2006
  • Garrett Müller

    Garrett Mül

    26 HAZİRAN 2009
  • warningthepeople

    warningthepe

    21 EYLÜL 2011