SORU
9 NİSAN 2010, Cuma


Nasıl PowerShell birden çok hatları üzerinden uzun komutları ayırmak için

Nasıl powershell'de böyle bir komutu kabul ediyor musun ve birden fazla satır arasında bölünmüş:

&"C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe" -verb:sync -source:contentPath="c:\workspace\xxx\master\Build\_PublishedWebsites\xxx.Web" -dest:contentPath="c:\websites\xxx\wwwroot\,computerName=192.168.1.1,username=administrator,password=xxx"

CEVAP
9 NİSAN 2010, Cuma


yani backtick karakter olarak takip ediyorum

&"C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe" `
-verb:sync `
-source:contentPath="c:\workspace\xxx\master\Build\_PublishedWebsites\xxx.Web" `
-dest:contentPath="c:\websites\xxx\wwwroot,computerName=192.168.1.1,username=administrator,password=xxx"

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

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • bmarian22

    bmarian22

    22 Aralık 2007
  • 趣味そうこ♪

    趣味そう

    3 Mart 2010
  • The Platform

    The Platform

    14 HAZİRAN 2006