Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Create a Shortcut with arguments to exe file windows 7

15 Apr 2012   #1
DM2

Windows 7 Ultimate x32 (6.1, Build 7601)
 
 
Create a Shortcut with arguments to exe file windows 7

I was trying to add a few shortcuts to my Windows 7 Start Menu and add a command line argument to the short cut.

I was able to create a shortcut for "Windows Explorer" using
Code:
C:\Windows\explorer.exe /n, /e D:\
When I tried to create a shortcut for FireFox to select the profile
Code:
C:\Internet\FireFox.exe -p
it didn't work. I tried using the Start> Run> command with
Code:
C:\Internet\FireFox.exe -p
and it worked fine.

What am I doing wrong?


My System SpecsSystem Spec
.
15 Apr 2012   #2
DM2

Windows 7 Ultimate x32 (6.1, Build 7601)
 
 

Never mind...figure it out...the shortcut needs to be formatted with the switches after the Quote marks...
Code:
"C:\Internet\FireFox.exe" -p
My System SpecsSystem Spec
Reply

 Create a Shortcut with arguments to exe file windows 7




Thread Tools




Similar help and support threads
Thread Forum
Remove "Create Shortcut" from file and folder context menu?
Hi Shawn, is there a way to remove "Create Shortcut" from the right-click context menu on a file/folder?
Customization
Shortcut - Create for a File, Folder, Drive, or Program in Windows
How to Create a Shortcut of a File, Folder, Drive, or Program in Vista, Windows 7, and Windows 8 A shortcut is a link to an item (such as a file, folder, drive, or program) on your computer. You can create shortcuts and then place them in a convenient location so that you can easily access the...
Tutorials
unable to create shortcut to data file
I have a data file partition on my hard drive and am cannot create a shortcut from the My Documents folder on the data partition to my desktop When I right click the folder it does not show a send to desktop option in the menu that appears How can I solve this problem? Thanks!
General Discussion
Perl file (.pl) file with arguments as windows service
I am running Windows 7 32-bit. I have a perl script which i want to start everytime computer starts. Setting it as service will be a good option as i can start and restart the service from command line. In windows XP I was using srvany.exe but that is not a good solution. Is there any way I can...
General Discussion
Shortcut arguments - How do find them?
Hello I've googled around the web and this forum without much luck... I'm tryin to find a list of the arguments possible of use when creating shortcuts. I know each application will have it's own list, but i believe there's also a set of arguments for windows functions (like force focus to...
General Discussion
Encrypting File System Manager Shortcut - Create
How to Create an "Encrypting File System" Manager Shortcut in Windows Encrypting File System (EFS) is a feature of Windows that allows you to store information on your hard disk in an encrypted format. This will show you how to create or download a Encrypting File System Manager shortcut in...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App