Results 1 to 2 of 2
  1. #1
    iiz
    iiz is offline Member
    Join Date
    Apr 2008
    Posts
    1
    Rep Power
    0

    Default Drive letter sniff/open explorer window

    Hi all,

    I have never coded in java or any language other then web based languages. My boss though has set for a task for me. I need to have a exe, which will be on a flash drive making it have a random drive letter. The exe will autorun when the flash drive is plugged in and it will need to open the root catalog of the flash drive.


    I have made this in python:

    Java Code:
    os.popen("explorer.exe " + os.getcwd())
    but python compiles to have a bunch of extra library folders and dll's.

    If anyone could help me out it would be much appreciated.

    Thanks
    -Nick

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. Package Explorer
    By bilmeze in forum Eclipse
    Replies: 0
    Last Post: 04-04-2008, 08:57 AM
  2. Drive names
    By alwz_nikhil in forum New To Java
    Replies: 0
    Last Post: 11-28-2007, 10:04 AM
  3. access cd drive
    By milinkp in forum New To Java
    Replies: 0
    Last Post: 07-20-2007, 06:14 AM
  4. Internet Explorer is unable to open Office documents from an SSL Web site
    By pramod@netedgecomputing.c in forum Web Frameworks
    Replies: 0
    Last Post: 07-19-2007, 07:18 AM
  5. SSL-Explorer: Community Edition 0.2.13
    By levent in forum Java Software
    Replies: 0
    Last Post: 05-13-2007, 03:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •