scripts/create_windows_links.py

changeset 7257
c4d0cac9b5c9
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7256:4ef3b78ebb4e 7257:c4d0cac9b5c9
20 Create Desktop and Start Menu links. 20 Create Desktop and Start Menu links.
21 21
22 @param argv list of command line arguments 22 @param argv list of command line arguments
23 @type list of str 23 @type list of str
24 """ 24 """
25 regPath = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" + \ 25 regPath = (
26 "\\User Shell Folders" 26 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" +
27 "\\User Shell Folders"
28 )
27 29
28 # 1. create desktop shortcuts 30 # 1. create desktop shortcuts
29 regName = "Desktop" 31 regName = "Desktop"
30 desktopFolder = os.path.normpath( 32 desktopFolder = os.path.normpath(
31 os.path.expandvars(getWinregEntry(regName, regPath))) 33 os.path.expandvars(getWinregEntry(regName, regPath)))

eric ide

mercurial