Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-04-2008, 02:24 AM
iiz iiz is offline
Member
 
Join Date: Apr 2008
Posts: 1
iiz is on a distinguished road
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:

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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-04-2008, 04:50 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,338
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Are looking to execute a process in Java?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Package Explorer bilmeze Eclipse 0 04-04-2008 09:57 AM
Drive names alwz_nikhil New To Java 0 11-28-2007 11:04 AM
access cd drive milinkp New To Java 0 07-20-2007 07:14 AM
Internet Explorer is unable to open Office documents from an SSL Web site pramod@netedgecomputing.c Web Frameworks 0 07-19-2007 08:18 AM
SSL-Explorer: Community Edition 0.2.13 levent Java Announcements 0 05-13-2007 04:43 PM


All times are GMT +3. The time now is 11:06 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org