Call Us Today! 1-800-895-3254
[email protected]
Microsoft Training
Integent offers a comprehensive portfolio of training services, with an ideal fit for every organization. Ranging from general courses to custom solutions, we have you covered.
Learn About TrainingSee Full list of Courses
Microsoft Consulting
Integent provides consulting services for a variety of Microsoft applications including Microsoft Project, Project Online, Project for the Web, Dynamics 365, and Microsoft SharePoint.
Learn About Consulting
Microsoft Support
Microsoft technologies set the standard for project portfolio management, business applications, collaboration, and more. Integent has flexible solutions to support every customer.
Learn About Support
Microsoft Project
Integent has the knowledge and experience to help design and deploy a solution to help your organization manage projects and resources more effectively
Learn More About Microsoft Project
Microsoft Dynamics 365
Integent can help you nsure business continuity with a custom cloud solution that connects sales, service, finance, and operations teams to deliver results.
Learn More About Dynamics 365
Microsoft SharePoint
SharePoint is Microsoft’s collaboration platform that is a place where team members can communicate, exchange data, share files and much more.
Learn More About Microsoft SharePoint
Microsoft Power Platform
Consisting of Power BI, Power Apps, Power Automate and Power Virtual Agents, the Microsoft Power Platform helps streamline and improve business functions.
Learn More About The Power Platform
About Integent
Integent was founded in 2009 on the principles of building long-lasting relationships with customers, exceeding expectations, and providing outstanding customer service. 

We’re dedicated to providing a customized solution backed by our knowledgeable team of Microsoft experts.
Discover What Makes Us Different
GSA Schedule
Integent is GSA Schedule Contract holder. A GSA schedule helps simplify selling our services to government customers.
Read More Here
News
Stay informed on Integent’s latest company updates and other important industry information. Our passion is customer success.
Read The Latest News
Videos
Learning new software doesn’t have to be difficult with our library of dozens of free training videos. Our video training always has something new.
Browse Our Training Video Library
Blog
Our industry experts share best practices and common pitfalls to avoid, in order to get the most out of your technology solutions.
Discover More

October 19, 2011

Using Command-line switches for Project 2007

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

  1. Right-click the desktop, point to New, and then click Shortcut on the shortcut menu.
  2. 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

  1. Click Next.
  2. 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.

  1. Whenever you want to start Project in this particular customized way, double-click the shortcut.
  2. 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

© Copyright 2023 | Integent.com | All Rights Reserved
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram