Etiket: command

Assembly’yi Klasörler Halinde Görme

Aralık 14th, 2009

Yöntem 1 :

Klasör görünümü ile görmek için;

  1. Bir adet CMD açın (Başlat -> Çalıştır -> CMD ),
  2. CD komutuyla windows alındaki assembly klasörüne gidin ( CD C:\Windows\Assembly),
  3. Attrib -r -h -s desktop.ini komutunu yazıp, çalıştırın,
  4. Ren desktop.ini desktop.bak komutunu girin. Assembly klasörünü açınca normal klasör görünümünü görebilirsiniz.

Assembly görünümü ile görmek için;

  1. Bir adet CMD açın (Başlat -> Çalıştır -> CMD ),
  2. CD komutuyla windows alındaki assembly klasörüne gidin ( CD C:\Windows\Assembly),
  3. Ren desktop.bak desktop.ini komutunu girin, Assembly klasörünü açınca Assembly görünümünü görebilirsiniz.

Yöntem 2 :

Klasör görünümü ile görmek için;

  1. Regedit‘ i açın (Başlat -> Çalıştır -> Regedit),
  2. HKEY_LOCAL_MACHINE -> SOFTWARE ->Microsoft -> Fusion tabını bulun,
  3. Yeni bir REG_DWORD Değeri ekleyin,
  4. İsmini DisableCacheViewer, Değerini ise 1 yapın, Assembly klasörünü açınca normal klasör görünümünü görebilirsiniz.

Assembly görünümü ile görmek için;

  1. Regedit‘ i açın (Başlat -> Çalıştır -> Regedit),
  2. HKEY_LOCAL_MACHINE -> SOFTWARE ->Microsoft -> Fusion tabını bulun,
  3. Listedeki değerlerden DisableCacheViewer kaydını bulup, silin, Assembly klasörünü açınca Assembly görünümünü görebilirsiniz.

Tags: , , , , , , , , , , , ,
Posted in Sistem | No Comments »

Starting a Windows Service from Command Prompt

Ocak 25th, 2009

If you are like me, you dont like navigating and starting manually services. So;

  1. You can create two shortcuts, that points to service. By clicking the shortcuts, you can start or stop services. While creating the shortcut, When it asks you to browse or specify the location of what you want the shortcut to point to, enter the following:
    For start;

    cmd /c net start SERVICE_NAME

    For stop;

    cmd /c net stop SERVICE_NAME

  2. You can run this command at command promt,
    Like;

    net start SERVICE_NAME

Tags: , , , ,
Posted in Bilgisayar, SQL Server | No Comments »

IIS Commands

Aralık 3rd, 2008

Start IIS from command prompt

iisreset /start

Stop IIS from command prompt

iisreset /stop

Restart IIS from command prompt

iisreset

Tags: , , , ,
Posted in Bilgisayar | No Comments »

IIS Komutları

Aralık 3rd, 2008

Command Prompt dan IIS i başlatmak için

iisreset /start

Command Prompt dan IIS i kapamak için

iisreset /stop

Command Prompt dan IIS e reset atmak için

iisreset

Tags: , , ,
Posted in Bilgisayar | No Comments »

C#’da Command Komutları

Ağustos 4th, 2008

C# da Cmd.exe ile bir komut çalıştırmak istiyorsak aşağıdaki komutu kullanabiliriz.

string arguments = “/C C:\\Windows\\xyz.exe -h -blabla”;

System.Diagnostics.Process.Start(“cmd.exe”,arguments);

yok eğer ben cmd.exe falan istemiom direkt bir dosya açaçam diyosanız ise

System.Diagnostics.Process.Open(“blabla.txt”);

komutunu kullanabilirsiniz.

Tags: , , , , , ,
Posted in .NeT 2008 | No Comments »