Jump to content

Coding help needed


Recommended Posts


I am in the process of writing an autorun file for a usb. I am needing help with my batch file. What i am looking for is a batch file command that will open the root of the usb device in windows explorer. For example the autorun will point to a batch file that will run a program and then also open a windows explorer window displaying the root of the device it is running from???

Can anyone help????

Link to comment
Share on other sites

Sorry Sparda,

I am still not been clear about this. the main problem is that how do i tell the batch file the drive letter as this will vary from machine to machine, or will explorer automatically take it to the root of the usb device? i tried this and it opened up the my documents folder on C drive???

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...