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 for2: Create a Shortcut with arguments to exe file windows 7
Thread Forum
Solved Remove "Create Shortcut" from file and folder context menu? Customization
Shortcut - Create for a File, Folder, Drive, or Program in Windows Tutorials
unable to create shortcut to data file General Discussion
Perl file (.pl) file with arguments as windows service General Discussion
Shortcut arguments - How do find them? General Discussion
Encrypting File System Manager Shortcut - Create 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 02:12 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33