One of my clients asked if it was possible to make a shortcut of a Project Server project from the desktop. Well by using command-line switches you can definitely open a project.mpp file. I will let you know if it works for Project Server projects.
For now, check out this information (provided by MSFT) on creating command-line switches for Project 2007:
Make a switch available for reuse by creating a shortcut
- Right-click the desktop, point to New, and then click Shortcut on the shortcut menu.
- In the Create Shortcut Wizard, in the Type the location of the item box, type winproj, followed by a space, and then type the switch and any parameters. For example, you might type the following:
"c:program filesmicrosoft officeoffice12winproj.exe" [drive:][path]filename.mpp
- Click Next.
- In the Type a name for this shortcut box, type a name for the shortcut, and then click Finish.
The wizard creates the shortcut and places it on the desktop.
- Whenever you want to start Project in this particular customized way, double-click the shortcut.
- To add the desktop shortcut to the Start menu in Windows, right-click the shortcut, and then click Pin to Start menu on the shortcut menu.
You can create a variety of shortcuts, each of which applies different switches and parameters to the program at startup.
Notes
- Switches and parameters are not case-sensitive.
- Remember to include one blank space before the switch and one before each parameter.
Available switches and parameters
Switch and parameter
Description
/s "URL"
Use this switch to start Project and specify the Project Server URL for enterprise projects.
For example:
/s "http://<ServerName>/projectserver"
/u "username"
Use this switch to start Project and specify a user name of someone with permission to log on to the Project Server that is specified in the /s command-line option. This can be either a Microsoft Windows NT authenticated user account or a Project Server user account.
For example:
/u "ProjectServerUserName"
/u "domainaccount"
/p "password"
Use this switch to start Office Project Professional 2007 and enter the password for the user who is specified in the /u command-line option. This is not required for users with a Windows NT authenticated user account.
filename
Use this switch to start Office Project Professional 2007 and open a specific project.
-ProjectProfiles
Use this switch to start Office Project Professional 2007 and display the Project Server Accounts dialog box.
Note If you don't provide the switches /u and /p, it is assumed that the currently logged-on user uses Windows NT authentication.
-Jacques