View Single Post
  #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
Reply With Quote
Sponsored Links