How do you add "Open Folder To View Files" to the autorun.inf in a USB for XP?

Discussion in 'Software' started by stopads, Dec 2, 2011.

  1. stopads

    stopads Private E-2

    Hello everyone,

    Does anyone one know the parameters, arguments, etc. on how to automatically run "Open Folder To View Files" from a usb autorun.inf file?

    Here's what I have so far in customizing my autorun.inf:
    Code:
     [autorun]
    icon=autorun.ico
    label=stopads8GB
    What do I add to the .inf file to Open Folder To View Files. I've googled this for more that an hour and still can't seem to find a clear cut example. Can some please help? Thank you in advance for your input and responses. :thumbsup:
     
  2. Wyatt_Earp

    Wyatt_Earp MajorGeek

    The "Open Folder to View Files" option should be there by default... You shouldn't need to add it for a USB drive.
     
  3. stopads

    stopads Private E-2

    Hi Wyatt,

    I know that, but I want to open it automatically without any popup choices. I want it to open directly to my USB drive to view files. If you look at my autorun.inf I just need one last thing to add and that's to open the USB drive directly without popup choices. I believe it might be a script or something.
     
  4. PC-XT

    PC-XT Master Sergeant

    Does this work?
    Code:
    [autorun]
    icon=autorun.ico
    label=stopads8GB
    open=explorer .
    (with the space and period)
     
  5. GermanOne

    GermanOne Guest

    I'm on Win7 now but I remember I did something like that:

    autorun.vbs
    Code:
    CreateObject("WScript.Shell").Run "explorer /n,/e,.\", 3
    autorun.inf
    Code:
    [autorun]
    shellexecute=autorun.vbs
    icon=autorun.ico
    label=stopads8GB
    action=Explorer
    useautoplay=1
    Regards
    GermanOne
     
  6. stopads

    stopads Private E-2

    Didn't work :(
     
  7. stopads

    stopads Private E-2

    I'm on XP so I tried your autorun.inf. Didn't work either :(
     
  8. GermanOne

    GermanOne Guest

    I can't test it anymore but that's what i did on XP (found it on one of my older pen drives).
    BTW: It doesn't work without the VBScript!

    Regards
    GermanOne
     
  9. stopads

    stopads Private E-2

    I placed both the .vbs & .inf in my thumbdrive. Still didn't work. :(
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds