Recently win10 navigation bar icons are more and more, the machine installed a bit more programs, rare today a bit of time, wrote a python Start program small script:
#-*-coding:utf-8-*- import sys import os if
__name__== "__main__": if len (SYS.ARGV) < 2: print ' which exe do '
Ant start? ' Os.system (' pause ') else : msg=sys.argv[1] if msg = = "ie" or msg = = "Chrome": Os.system ("C:\progra~2\google\chrome\application\chrome.exe") elif msg = = "ZKC": Os.chdir ("D:\\work\\zooinspector\\build") Os.system ("Java-jar Zookeeper-dev-zooinspector.jar ") elif msg = =" Memcache ": Os.chdir (" D:\work\memcache\memcached-win32-1.4.4-14 ") Os.system ("Memcached.exe–d–p 11211") elif msg = "idea": Os.system (R ' "C:\progra~2\jetbra Ins\intellij idea 2016.1.1\\bin\idea.exe "')
Named s.py, then put it under a path, add this path in the environment variable's path, then shortcut key win+r, open the Run Command window, then run s.py ie is open chrome,s.py idea is run idea, etc., so that The startup icon on the desktop can finally be put into the Recycle Bin and looks a lot cleaner.