Minimallashtirilgan Dasturni Qanday Boshqarish Kerak

Mundarija:

Minimallashtirilgan Dasturni Qanday Boshqarish Kerak
Minimallashtirilgan Dasturni Qanday Boshqarish Kerak

Video: Minimallashtirilgan Dasturni Qanday Boshqarish Kerak

Video: Minimallashtirilgan Dasturni Qanday Boshqarish Kerak
Video: O'ZGALAR TELEFONINI MASOFADAN TURIB BOSHQARISH! SINALGAN USLUB... 2024, Noyabr
Anonim

Dasturni minimallashtirilgan shaklda ishlatish muammosini hal qilish uchun Microsoft Windows operatsion tizimining standart vositalaridan yoki ixtisoslashtirilgan skriptlardan foydalanish mumkin.

Minimallashtirilgan dasturni qanday boshqarish kerak
Minimallashtirilgan dasturni qanday boshqarish kerak

Ko'rsatmalar

1-qadam

"Ishga tushirish" tugmachasini bosib, Windows operatsion tizimining asosiy menyusiga qo'ng'iroq qiling va tanlangan dasturni minimallashtirilgan shaklda ishga tushirish tartibini amalga oshirish uchun "Ishga tushirish" bandiga o'ting.

2-qadam

"Ochish" maydoniga cmd qiymatini kiriting va OK tugmachasini bosish orqali "Buyruq satri" vositasini ishga tushirish buyrug'ining bajarilishini tasdiqlang.

3-qadam

Buyruqning tarjimoni matn maydoniga start: min application_name.exe qiymatini kiriting va Enter funktsiya tugmachasini bosib buyruqni tasdiqlang.

4-qadam

Tanlangan dasturni minimallashtirilgan shaklda avtomatik ravishda ishga tushirish buyrug'ini bajarish uchun buyruqni bajarish va Enter funktsiyasi tugmachasini bosib buyruqning bajarilishini tasdiqlash uchun cmd / drive_name start / min application_name.exe qiymatidan foydalaning.

5-qadam

Laganda ichiga minimallashtirilgan kerakli dasturni ishga tushirish uchun quyidagi buyruq sintaksisini tanlang:

Ishga tushirish (@ProgramFilesDir & "\ Program_name / program_name / exe", ", @SW Minimize)

yoki

Ishga tushirish ("program_name.exe", @ProgramFilesDir & "\ program_name ", @SW Minimize

WinExec yoki ShellExec funktsiyalaridan foydalanish.

6-qadam

Buyruqning tarjimonida start buyrug'idan foydalanishning boshqa variantlari va variantlarini aniqlash uchun asosiy Ishga tushirish menyusiga qayting va Ishga o'ting.

7-qadam

"Ochish" maydoniga cmd qiymatini kiriting va OK tugmachasini bosish orqali "Buyruq satri" vositasini ishga tushirish buyrug'ining bajarilishini tasdiqlang.

8-qadam

Qiymatni kiriting: start /? buyruq tarjimonining matn maydoniga kiriting va Enter yorlig'i bilan belgilangan tugmani bosib buyruq bajarilishini tasdiqlang.

9-qadam

Buyruq satrining parametridan foydalaning yoki yarating (kalit):

agar (Properties. Settings. Default. AutoRun)

{

Microsoft. Win32. RegistryKey myKey =

Microsoft. Win32. Registry. CurrentUser. OpenSubKey (@ "Software / Microsoft / Windows / CurrentVersion / Run ", haqiqiy);

myKey. Setvalue ("MyProgram. NET", Applcation. ExecutablePath + "-hide");

Registry. CurrentUser. OpenSubKey (@ "Software / Microsoft / Windows / CurrentVersion / Run ", haqiqiy);

myKey. Close ();

Registry. CurrentUser. Close ();

}

boshqa

{

Microsoft. Win32. RegistryKey myKey =

Microsoft. Win32. Registry. CurrentUser. OpenSubKey (@ "Software / Microsoft / Windows / CurrentVersion / Run ", haqiqiy);

myKey. SetValue ("MyProgram. NET", Application. ExecutablePath + "-hide");

myKey. DeleteValue ("MyProgram. NET");

myKey. Close ();

Registry. CurrentUser. Close ();

}

tanlangan dasturni minimallashtirishga qodir bo'lish.

Tavsiya: