Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a shortcut to chrome on my desktop with a parameter:

Target: C:\Users\Eyal\AppData\Local\Google\Chrome\Application\chrome.exe --allow-file-access-from-files

Every few days (I can't figure out the trigger), it gets re-written to this:

Target: C:\Users\Eyal\AppData\Local\Google\Chrome\Application\chrome.exe

The parameter disappears. My only guess is that maybe Windows doesn't like that the Target isn't a file and rewrites it. It happens about once every 2-3 days.

Is there a way to make a shortcut with a parameter that I won't have to keep fixing?

share|improve this question
1  
Are you sure it is not just chrome updating itself? Try to create a second (identical) shortcut manually and use that one –  scibuff Aug 31 '12 at 0:47
    
This was a shortcut that I made myself. I right-click-dragged chrome to my desktop, made a shortcut, and modified the target. –  Eyal Aug 31 '12 at 9:15

1 Answer 1

Probably either chrome or some other software is messing with the shortcut.

Options:

  • Try naming the shortcut differently than the Default name.

  • Create shortcut manually i.e. by right clicking on the desktop and select New>Shortcut and follow on screen instructions.

  • Alternatively you can use Batch file to launch chrome in the mode you want. (This will not be affected by updates or anything like that)
    Create a text file, paste following command to it, save it with extension .bat.

    START C:\Users\Eyal\AppData\Local\Google\Chrome\Application\chrome.exe --allow-file-access-from-files
    EXIT
    

Double Click the file to launch chrome. (You can customize the icon to make it look like the chrome shortcut)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.